modelstepSe
Step effort source of the Modelica bond graph library
Extends from Interfaces.ActiveOnePort (Partial model invoking one bondgraphic connector).
Information
The step effort source is an active OnePort element. It inherits the effort and flow variables from the active OnePort. The step effort to be generated is modeled as a set of three parameters.The effort source has its causality stroke away from the source.
Potential variables: e: Bondgraphic effort variable f: Bondgraphic flow variable, normalized positive for flows out of the model Parameters: e0: Height of step to be generated (default value = 1) offset: Offset of step to be generated (default value = 0) startTime: Start time of step to be generated (default value = 0)
Equations:
e = offset + (if time < startTime then 0 else e0)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | e0 | 1 | Height of step |
| Real | offset | 0 | Offset of step |
| Modelica.SIunits.Time | startTime | 0 | Start time of step |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| BondLib.Interfaces.BondCon | BondCon1 (from ActiveOnePort) | Bond graph connector |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | e (from ActiveOnePort) | Bondgraphic effort | |
| Real | f (from ActiveOnePort) | Bondgraphic flow | |
| Modelica.Blocks.Sources.Step | Step1 |