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
Example2.CustomComponents.PSSChangeParam PSSChangeParam PSS Model with 4 or 5 different stages that have different parameters triggered at different times
Example2.CustomComponents.TimedNoiseInjection TimedNoiseInjection Model to inject normal noise at a time equal or greater than a user-defined threshold.
Example2.CustomComponents.InputDataA InputDataA Multisine input signal - Case A
Example2.CustomComponents.InputDataB InputDataB Multisine Input Signal - Case B
Example2.CustomComponents.TimedInputInjectionA TimedInputInjectionA  
Example2.CustomComponents.TimedInputInjectionB TimedInputInjectionB  
Example2.CustomComponents.TimedInjection TimedInjection Outputs "y", the same as the input signal "u" at a user-specified time, otherwise it outputs zero.
Example2.CustomComponents.TimedInputInjectionOnOff TimedInputInjectionOnOff Injects the signal specified at the input for a user-specified time period, otherwise outputs zero.
Example2.CustomComponents.TimedInjectionOnOff TimedInjectionOnOff  
Example2.CustomComponents.TimedInjectionOnOffTableData TimedInjectionOnOffTableData  
Example2.CustomComponents.MultiRamp MultiRamp  
Example2.CustomComponents.TimedMultiRamp TimedMultiRamp  
Example2.CustomComponents.DeMultiplex7 DeMultiplex7 DeMultiplexer block for 7 output connectors

Example2.CustomComponents.TimedNoiseInjection Example2.CustomComponents.TimedNoiseInjection

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

NameDescription
Noise
samplePeriodPeriod for sampling the raw random numbers [s]
muExpectation (mean) value of the normal distribution
sigmaStandard deviation of the normal distribution
Time of Noise Injection
thresholdComparison with respect to threshold

Connectors

NameDescription
yConnector of Real output signal

Example2.CustomComponents.InputDataA Example2.CustomComponents.InputDataA

Multisine input signal - Case A

Information

Extends from Modelica.Blocks.Interfaces.MO (Multiple Output continuous control block).

Parameters

NameDescription
noutNumber of outputs

Connectors

NameDescription
y[nout]Connector of Real output signals

Example2.CustomComponents.InputDataB Example2.CustomComponents.InputDataB

Multisine Input Signal - Case B

Information

Extends from Modelica.Blocks.Interfaces.MO (Multiple Output continuous control block).

Parameters

NameDescription
noutNumber of outputs

Connectors

NameDescription
y[nout]Connector of Real output signals

Example2.CustomComponents.TimedInputInjectionA Example2.CustomComponents.TimedInputInjectionA

Information

Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).

Parameters

NameDescription
kScaling Factor - Gain value multiplied with input signal
t_startStart time of the injection
t_stopStop time of the injection

Connectors

NameDescription
yConnector of Real output signal

Example2.CustomComponents.TimedInputInjectionB Example2.CustomComponents.TimedInputInjectionB

Information

Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).

Parameters

NameDescription
kScaling Factor - Gain value multiplied with input signal
t_startStart time of the injection
t_stopStop time of the injection

Connectors

NameDescription
yConnector of Real output signal

Example2.CustomComponents.TimedInjection Example2.CustomComponents.TimedInjection

Outputs "y", the same as the input signal "u" at a user-specified time, otherwise it outputs zero.

Parameters

NameDescription
Timed Injection Parameters
timedinjection_thresholdTime threshold to inject the signal

Connectors

NameDescription
u 
y 

Example2.CustomComponents.TimedInputInjectionOnOff Example2.CustomComponents.TimedInputInjectionOnOff

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

NameDescription
kScaling Factor - Gain value multiplied with input signal
t_startStart time of the injection
t_stopStop time of the injection

Connectors

NameDescription
yConnector of Real output signal
uInput signal connector

Example2.CustomComponents.TimedInjectionOnOff Example2.CustomComponents.TimedInjectionOnOff

Parameters

NameDescription
talphastart of the scenario
t2p5Ramping interval (default 2.5 min)
t5p0Probing 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_thresholdTime threshold to inject the signal

Connectors

NameDescription
y 
u 

Example2.CustomComponents.TimedInjectionOnOffTableData Example2.CustomComponents.TimedInjectionOnOffTableData

Parameters

NameDescription
talphastart of the scenario
t2p5Ramping interval (default 2.5 min)
t5p0Probing 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_scaleScaling 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_thresholdTime threshold to inject the signal

Connectors

NameDescription
y 

Example2.CustomComponents.MultiRamp Example2.CustomComponents.MultiRamp

Parameters

NameDescription
Ramp A Parameters
rampA_heightRamp A Height
rampA_durationDuration of Ramp A [s]
rampA_startTimeStart of output y of Ramp A [s]
Ramp B Parameters
rampB_heightHeight of Ramp B
rampB_durationDuration of Ramp B [s]
rampB_startTimeStart of output y of Ramp B [s]
Ramp C Parameters
rampC_heightHeight of Ramp C
rampC_durationDuration of Ramp C [s]
rampC_startTimeStart of output y of Ramp C [s]
Ramp D Parameters
rampD_heightHeight of Ramp D
rampD_durationDuration of Ramp D [s]
rampD_startTimeStart of output y of Ramp D [s]
Sampler Parameters
samplePeriodSample period of component [s]
FOH Parameters
foh_samplePeriodSample period of component [s]

Connectors

NameDescription
y 

Example2.CustomComponents.TimedMultiRamp Example2.CustomComponents.TimedMultiRamp

Parameters

NameDescription
Ramp A Parameters
rampA_heightRamp A Height
rampA_durationDuration of Ramp A [s]
rampA_startTimeStart of output y of Ramp A [s]
Ramp B Parameters
rampB_heightHeight of Ramp B
rampB_durationDuration of Ramp B [s]
rampB_startTimeStart of output y of Ramp B [s]
Ramp C Parameters
rampC_heightHeight of Ramp C
rampC_durationDuration of Ramp C [s]
rampC_startTimeStart of output y of Ramp C [s]
Ramp D Parameters
rampD_heightHeight of Ramp D
rampD_durationDuration of Ramp D [s]
rampD_startTimeStart of output y of Ramp D [s]
Sampler Parameters
samplePeriodSample period of component [s]
FOH Parameters
foh_samplePeriodSample period of component [s]
Timed Injection Parameters
timedinjection_thresholdTime threshold to inject the signal

Connectors

NameDescription
y 

Example2.CustomComponents.DeMultiplex7 Example2.CustomComponents.DeMultiplex7

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

NameDescription
n1Dimension of output signal connector 1
n2Dimension of output signal connector 2
n3Dimension of output signal connector 3
n4Dimension of output signal connector 4
n5Dimension of output signal connector 5
n6Dimension of output signal connector 6
n7Dimension of output signal connector 7

Connectors

NameDescription
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.