modelmyVariableLoad
Load with P/Q as input variables
Extends from PartialModels.myPartialLoad (Partial model for loads).
Information
This node prescribes a variable active power P and reactive power Q entering the PQ bus.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.myVoltage | UNom (from myPartialLoad) | Reference voltage of the load | |
| Types.myPerUnit | lowVoltage (from myPartialLoad) | if UNom <= 1000 then 0.9 else 0.95 | Lower percentage limit for acceptable voltage |
| Types.myPerUnit | highVoltage (from myPartialLoad) | if UNom <= 1000 then 1.1 else 1.05 | Higher percentage limit for acceptable voltage |
| Types.myVoltage | minU (from myPartialLoad) | lowVoltage*UNom | Minimum acceptable value for U |
| Types.myVoltage | maxU (from myPartialLoad) | highVoltage*UNom | Maximum acceptable value for U |
| Boolean | switchToImpedanceMode | true | Possibility to switch to impedance mode when voltage is too low |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.myAcausalTerminal | terminal (from myPartialLoad) | Terminal of the node | |
| Modelica.Blocks.Interfaces.RealInput | PInput | Active power consumed (>0) or provided (<0) | |
| Modelica.Blocks.Interfaces.RealInput | QInput | Reactive power inductive (>0) or capacitive (<0) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Types.myCurrent | I (from myPartialLoad) | CM.abs(terminal.i) | Current flowing the load |
| Types.myVoltage | U (from myPartialLoad) | sqrt(3)*CM.abs(terminal.v) | Voltage at the load |
| Types.myApparentPower | S (from myPartialLoad) | sqrt(3)*I*U | Apparent power flowing the load |