#*------------------------------------------------------------------- * EMSO Model Library (EML) Copyright (C) 2004 - 2007 ALSOC. * * This LIBRARY is free software; you can distribute it and/or modify * it under the therms of the ALSOC FREE LICENSE as available at * http://www.enq.ufrgs.br/alsoc. * * EMSO is distributed under the terms of the ALSOC LICENSE as * available at http://www.enq.ufrgs.br/alsoc. *----------------------------------------------------------------------- * Author: Jonathan Ospino P. * $Id: Constant.mso 2012$ *---------------------------------------------------------------------*# using "types"; Model Constant ATTRIBUTES Pallete=true; Icon="icon/Constant2"; Info="== Constant signal source ==."; PARAMETERS Value as Real(Brief="Constant value",Default=0); VARIABLES out Out as Real(Brief="Output of the constant block",Protected=true,PosX=1,PosY=0.5); EQUATIONS Out=Value; end