modelForcedCommSwitch
Extends from Ports.PortBase (base model adapting Spot to PowerSystems), PowerSystems.Common.Nominal.NominalVI (Nominal values).
Information
Switching by forced change of current-voltage ratio.
Does not allow single-phase switching. This model acts directly on the current vector in the chosen reference frame and avoids any transformation of variables. To be used, if details of the switching process are not of interest.
'closed' and 'open' determine the mechanical switch-position.
Electrically the switch is on, if it is 'closed', whereas the currents start decreasing exponentially, when it is opened.
A single scalar control-input is sufficient.
The transition between the 'off' conductivity (epsG) and the 'on' resistivity (epsR) is continuous with an exponential relaxation function
f = (exp(-dt^p/2) - exp(-1/2))/(1 - exp(-1/2))with
dt relative time measured from switching instant t_relax relaxation time p power of exponent
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | eps | {1e-4, 1e-4} | {resistance 'closed', conductance 'open'} |
| SI.Time | t_relax | 10e-3 | switch relaxation time |
| Integer | p_relax | 4 | power of relaxation exponent |
| Nominal | |||
| SI.Voltage | V_nom (from NominalVI) | 1 | nom Voltage |
| SI.Current | I_nom (from NominalVI) | 1 | nom Current |
| Initialization | |||
| Types.Dynamics | dynType | system.dynType | transient or steady-state model |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Ports.ACdq0_p | term_p | positive terminal | |
| Ports.ACdq0_n | term_nt | negative terminal 'true' | |
| Ports.ACdq0_n | term_nf | negative terminal 'false' | |
| Modelica.Blocks.Interfaces.BooleanInput | control | true: p - nt closed, false: p - nf closed |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| PS.Voltage | v_t | ||
| PS.Voltage | v_f | ||
| PS.Current | i_t | ||
| PS.Current | i_f |
Contents
| Name | Description |
|---|---|