#*------------------------------------------------------------------- * 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: Step.mso 2012$ *---------------------------------------------------------------------*# using "types"; Model Step ATTRIBUTES Pallete=true; Icon="icon/Step2"; Info="== Step signal source ==."; PARAMETERS Start_time as time_sec(Brief="Time of the step",Default=0); Initial_Value as Real(Brief="Initial value of the variable",Default=0); Final_Value as Real(Brief="Final value of the variable",Default=0); VARIABLES out Out as Real(Brief="Output",Protected=true,PosX=1,PosY=0.5); EQUATIONS if time