modelDistributionSystemModelicaIndividual
Information
This model generates Modelica code of models equivalent to DistributionSystemModelica which don't use arrays and for loops, but rather declare each model and each connection individually.
This model can be used to check the overhead of instantiating large numbesr of individual models compared to arrays, and also to check the ability of compilers to factor out the code of instances of the same component.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | N | 10 | Number of segments of the primary distribution line |
| Integer | M | N | Number of segments of each secondary distribution line |
| Real | alpha | 2 | Distribution line oversizing factor |
| Modelica.Units.SI.Resistance | R_l | 1 | Resistance of a single load |
Contents
| Name | Description |
|---|---|