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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k | 1 | Integrator gain |
| Equilibrium › Simulation | |||
| Types.SimulationType | Simulation (from SteadyState) | Types.SimulationType.NormalInit | Dynamic with Initialization or Steady State |
| Boolean | isDependent (from SteadyState) | false | =true, If zero flow is propagated in eqiulibrium through resistors, impedances, reactions, etc. |
| IO › Initialization | |||
| Real | state_start (from SteadyState) | State start or init value | |
| IO › Value I/O | |||
| String | dirName (from SteadyState) | "io" | Directory name to save and load values |
| String | storeUnit (from SteadyState) | "" | Unit in Utilities input/output function |
| String | stateName (from SteadyState) | getInstanceName() | Name in Utilities input/output function |
| Boolean | LOAD_STARTS (from SteadyState) | false | Load start value of state |
| Boolean | SAVE_RESULTS (from SteadyState) | false | Save final state values |
| Boolean | SAVE_COMPARISON (from SteadyState) | false | Compare final state values with original values |
| Initialization | |||
| Real | y_start | 0 | Initial or guess value of output (= state) |
| Solver › Numerical support of very small concentrations | |||
| Real | NominalValue | 1 | Numerical scale. For some substances such as hormones, hydronium or hydroxide ions should be set. |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | state (from SteadyState) | This state must be connected in inherited class definition | |
| Real | change (from SteadyState) | Dynamic change of state value per minute |