modelIntegrator

Integrator with support of steady state calculation.

Extends from SteadyStates.Interfaces.SteadyState (Abstract class for any dynamic state calculation (for any derivation), which is driven by SimulationType option.), Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).

Information

This blocks computes output y (element-wise) as integral of the input u multiplied with the gain k:

         k
     y = - u
         s

It might be difficult to initialize the integrator in steady state. This is discussed in the description of package Continuous.

Parameters

TypeNameDefaultDescription
Realk1Integrator gain
Equilibrium › Simulation
Types.SimulationTypeSimulation (from SteadyState)Types.SimulationType.NormalInitDynamic with Initialization or Steady State
BooleanisDependent (from SteadyState)false=true, If zero flow is propagated in eqiulibrium through resistors, impedances, reactions, etc.
IO › Initialization
Realstate_start (from SteadyState)State start or init value
IO › Value I/O
StringdirName (from SteadyState)"io"Directory name to save and load values
StringstoreUnit (from SteadyState)""Unit in Utilities input/output function
StringstateName (from SteadyState)getInstanceName()Name in Utilities input/output function
BooleanLOAD_STARTS (from SteadyState)falseLoad start value of state
BooleanSAVE_RESULTS (from SteadyState)falseSave final state values
BooleanSAVE_COMPARISON (from SteadyState)falseCompare final state values with original values
Initialization
Realy_start0Initial or guess value of output (= state)
Solver › Numerical support of very small concentrations
RealNominalValue1Numerical scale. For some substances such as hormones, hydronium or hydroxide ions should be set.

Connectors

TypeNameDefaultDescription
RealInputu (from SISO)Connector of Real input signal
RealOutputy (from SISO)Connector of Real output signal

Components

TypeNameDefaultDescription
Realstate (from SteadyState)This state must be connected in inherited class definition
Realchange (from SteadyState)Dynamic change of state value per minute