Example2.CustomComponents
Customized component models and blocks developed for this model.
Information
Auxiliary custom components developed for simulation and linearization purposes.
Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).
Package Content
| Name |
Description |
PSSChangeParam
|
PSS Model with 4 or 5 different stages that have different parameters triggered at different times |
TimedNoiseInjection
|
Model to inject normal noise at a time equal or greater than a user-defined threshold. |
InputDataA
|
Multisine input signal - Case A |
InputDataB
|
Multisine Input Signal - Case B |
TimedInputInjectionA
|
|
TimedInputInjectionB
|
|
TimedInjection
|
Outputs "y", the same as the input signal "u" at a user-specified time, otherwise it outputs zero. |
TimedInputInjectionOnOff
|
Injects the signal specified at the input for a user-specified time period, otherwise outputs zero. |
TimedInjectionOnOff
|
|
TimedInjectionOnOffTableData
|
|
MultiRamp
|
|
TimedMultiRamp
|
|
DeMultiplex7
|
DeMultiplexer block for 7 output connectors |
Model to inject normal noise at a time equal or greater than a user-defined threshold.
Information
Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).
Parameters
| Name | Description |
| Noise |
| samplePeriod | Period for sampling the raw random numbers [s] |
| mu | Expectation (mean) value of the normal distribution |
| sigma | Standard deviation of the normal distribution |
| Time of Noise Injection |
| threshold | Comparison with respect to threshold |
Connectors
| Name | Description |
| y | Connector of Real output signal |
Multisine input signal - Case A
Information
Extends from Modelica.Blocks.Interfaces.MO (Multiple Output continuous control block).
Parameters
| Name | Description |
| nout | Number of outputs |
Connectors
| Name | Description |
| y[nout] | Connector of Real output signals |
Multisine Input Signal - Case B
Information
Extends from Modelica.Blocks.Interfaces.MO (Multiple Output continuous control block).
Parameters
| Name | Description |
| nout | Number of outputs |
Connectors
| Name | Description |
| y[nout] | Connector of Real output signals |
Information
Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).
Parameters
| Name | Description |
| k | Scaling Factor - Gain value multiplied with input signal |
| t_start | Start time of the injection |
| t_stop | Stop time of the injection |
Connectors
| Name | Description |
| y | Connector of Real output signal |
Information
Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).
Parameters
| Name | Description |
| k | Scaling Factor - Gain value multiplied with input signal |
| t_start | Start time of the injection |
| t_stop | Stop time of the injection |
Connectors
| Name | Description |
| y | Connector of Real output signal |
Outputs "y", the same as the input signal "u" at a user-specified time, otherwise it outputs zero.
Parameters
| Name | Description |
| Timed Injection Parameters |
| timedinjection_threshold | Time threshold to inject the signal |
Connectors
Injects the signal specified at the input for a user-specified time period, otherwise outputs zero.
Information
Outputs a signal "y", which is a copy of the input signal "u", during a user-defined time period defined by parameters t_start and t_stop, otherwise it outputs zero.
Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).
Parameters
| Name | Description |
| k | Scaling Factor - Gain value multiplied with input signal |
| t_start | Start time of the injection |
| t_stop | Stop time of the injection |
Connectors
| Name | Description |
| y | Connector of Real output signal |
| u | Input signal connector |
Parameters
| Name | Description |
| talpha | start of the scenario |
| t2p5 | Ramping interval (default 2.5 min) |
| t5p0 | Probing interval (default 5.0 min) |
| tnin_start | |
| tnin_duration | |
| tA_start | |
| tA_duration | |
| tB_start | |
| tB_duration | |
| tC_start | |
| tC_duration | |
| tbeta | |
| tD_start | |
| tD_duration | |
| tE_start | |
| tE_duration | |
| tgamma | |
| tF_start | |
| tF_duration | |
| tG_start | |
| tG_duration | |
| tdelta | |
| tH_start | |
| tH_duration | |
| tI_start | |
| tI_duration | |
| Default Ramp Values |
| tramp1_start | |
| tramp1_duration | |
| tramp2_start | |
| tramp2_duration | |
| tramp3_start | |
| tramp3_duration | |
| tramp4_start | |
| tramp4_duration | |
| Timed Injection Parameters |
| timedinjection_threshold | Time threshold to inject the signal |
Connectors
Parameters
| Name | Description |
| talpha | start of the scenario |
| t2p5 | Ramping interval (default 2.5 min) |
| t5p0 | Probing interval (default 5.0 min) |
| tnin_start | |
| tnin_duration | |
| tA_start | |
| tA_duration | |
| tB_start | |
| tB_duration | |
| tC_start | |
| tC_duration | |
| tbeta | |
| tD_start | |
| tD_duration | |
| tE_start | |
| tE_duration | |
| tgamma | |
| tF_start | |
| tF_duration | |
| tG_start | |
| tG_duration | |
| tdelta | |
| tH_start | |
| tH_duration | |
| tI_start | |
| tI_duration | |
| r_scale | Scaling of r(t)'s amplitude |
| Default Ramp Values |
| tramp1_start | |
| tramp1_duration | |
| tramp2_start | |
| tramp2_duration | |
| tramp3_start | |
| tramp3_duration | |
| tramp4_start | |
| tramp4_duration | |
| Timed Injection Parameters |
| timedinjection_threshold | Time threshold to inject the signal |
Connectors
Parameters
| Name | Description |
| Ramp A Parameters |
| rampA_height | Ramp A Height |
| rampA_duration | Duration of Ramp A [s] |
| rampA_startTime | Start of output y of Ramp A [s] |
| Ramp B Parameters |
| rampB_height | Height of Ramp B |
| rampB_duration | Duration of Ramp B [s] |
| rampB_startTime | Start of output y of Ramp B [s] |
| Ramp C Parameters |
| rampC_height | Height of Ramp C |
| rampC_duration | Duration of Ramp C [s] |
| rampC_startTime | Start of output y of Ramp C [s] |
| Ramp D Parameters |
| rampD_height | Height of Ramp D |
| rampD_duration | Duration of Ramp D [s] |
| rampD_startTime | Start of output y of Ramp D [s] |
| Sampler Parameters |
| samplePeriod | Sample period of component [s] |
| FOH Parameters |
| foh_samplePeriod | Sample period of component [s] |
Connectors
Parameters
| Name | Description |
| Ramp A Parameters |
| rampA_height | Ramp A Height |
| rampA_duration | Duration of Ramp A [s] |
| rampA_startTime | Start of output y of Ramp A [s] |
| Ramp B Parameters |
| rampB_height | Height of Ramp B |
| rampB_duration | Duration of Ramp B [s] |
| rampB_startTime | Start of output y of Ramp B [s] |
| Ramp C Parameters |
| rampC_height | Height of Ramp C |
| rampC_duration | Duration of Ramp C [s] |
| rampC_startTime | Start of output y of Ramp C [s] |
| Ramp D Parameters |
| rampD_height | Height of Ramp D |
| rampD_duration | Duration of Ramp D [s] |
| rampD_startTime | Start of output y of Ramp D [s] |
| Sampler Parameters |
| samplePeriod | Sample period of component [s] |
| FOH Parameters |
| foh_samplePeriod | Sample period of component [s] |
| Timed Injection Parameters |
| timedinjection_threshold | Time threshold to inject the signal |
Connectors
DeMultiplexer block for 7 output connectors
Information
The input connector is split into seven output connectors. Note, that the dimensions of the output connector signals have to be explicitly defined via parameters n1, n2, n3, n4, n5, n6 and n7.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Parameters
| Name | Description |
| n1 | Dimension of output signal connector 1 |
| n2 | Dimension of output signal connector 2 |
| n3 | Dimension of output signal connector 3 |
| n4 | Dimension of output signal connector 4 |
| n5 | Dimension of output signal connector 5 |
| n6 | Dimension of output signal connector 6 |
| n7 | Dimension of output signal connector 7 |
Connectors
| Name | Description |
| u[n1 + n2 + n3 + n4 + n5 + n6 + n7] | Connector of Real input signals |
| y1[n1] | Connector of Real output signals 1 |
| y2[n2] | Connector of Real output signals 2 |
| y3[n3] | Connector of Real output signals 3 |
| y4[n4] | Connector of Real output signals 4 |
| y5[n5] | Connector of Real output signals 5 |
| y6[n6] | Connector of Real output signals 6 |
| y7[n7] | Connector of Real output signals 7 |
Automatically generated Wed Mar 13 11:47:13 2024.