
modelType2ModelBuilder_N_1_M_1
Builds Type2 grid with N = 1, M = 1, tap changers optional
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
| Integer | N | 2 | Number of basic grid cells |
| Integer | M | 2 | Number of HV lines connected to each EHV_LOAD node |
| Boolean | useTap | true | = true to use transformers with tap changers |
| Boolean | noEv | false | = true if model should not generate events |
| Real | UMax | 60e3 | Max HV voltage for tap changers |
| Real | UStop | 59e3 | Stop HV voltage for tap changers |
| String[2] | node | {"GEN", "LOAD"} | |
Components
| Type | Name | Default | Description |
| String | f | Modelica.Utilities.Files.loadResource("modelica://ScalableTestGrids/Models/Type2/Type2_" + (if not useTap then "noTap__" elseif noEv then "tapNoEv" else "tapEv__") + "_N_" + String(N) + "_M_" + String(M) + ".mo") | |
Contents
| Name | Description |
print | |