#*------------------------------------------------------------------- * 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: Differentiation.mso 2012$ *---------------------------------------------------------------------*# using "types"; Model Differentiation ATTRIBUTES Pallete=true; Icon="icon/Differentiation"; Info="== Differentiation block == It differentiates the value of the input signal with respect to the time. The resulting value is assigned to the output variable."; VARIABLES in In as Real(PosX=0,PosY=0.5,Protected=true); out Out as Real(PosX=1,PosY=0.5,Protected=true); EQUATIONS Out=diff(In)*'s'; end