#*------------------------------------------------------------------- * 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: Ramp.mso 2012$ *---------------------------------------------------------------------*# using "types"; Model Ramp ATTRIBUTES Pallete=true; Icon="icon/Ramp2"; Info="== Ramp signal source ==."; PARAMETERS r as Real(Brief="Ramp slope",Default=1); VARIABLES out Out as Real(Brief="Output of the ramp block",Protected=true,PosX=1,PosY=0.5); EQUATIONS Out=r*time/'s'; end