Buildings.Electrical.AC.OnePhase.Lines.Examples
Package with example models
Information
This package contains examples for the use of models that can be found in Buildings.Electrical.AC.OnePhase.Lines.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
ACLine | Test model for a single phase line that uses commercial cable information |
ACLine_L | Test model for a single phase inductive line |
ACLine_R | Test model for a single phase resistive line |
ACLine_RL | Test model for a single phase inductive-resistive line |
ACSimpleGrid | Test model for a network model |
Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine
Test model for a single phase line that uses commercial cable information
Information
This example demonstrates how to use a line model to connect a source to a load that uses commercial cable information.
The model has four different loads. The load sc_load
represents
a short circuit R=0. The current that flows through the load depends
on the impedance of the line.
The remaining three loads R1
, R2
, and R3
are resistive loads. Each load is connected to the source with different configurations,
however the equivalent impedance between each load and the source is the same.
Since the equivalent impedances are the same, each load draws the same current.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L
Test model for a single phase inductive line
Information
This example demonstrates how to use a purely inductive line model to connect a source to a load.
The model has four different loads. The load sc_load
represents
a short circuit R=0. The current that flows through the load depends
on the inductance of the line.
The remaining three loads R1
, R2
, and R3
are resistive loads. Each load is connected to the source with different configurations,
however the equivalent impedance between each load and the source is the same.
Since the equivalent impedances are the same, each load draw the same current.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Inductance | Lbase | 10/2/Modelica.Constants.pi/60 | Base value for the line inductances [H] |
Modelica definition
Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R
Test model for a single phase resistive line
Information
This example demonstrates how to use a resistive line model to connect a source to a load.
The model has four different loads. The load sc_load
represents
a short circuit R=0. The current that flows through the load depends
on the resistance of the line.
The remaining three loads R1
, R2
, and R3
are resistive loads. Each load is connected to the source with different configurations,
however the equivalent resistance between each load and the source is the same.
Since the equivalent resistances are the same, each load draw the same current.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL
Test model for a single phase inductive-resistive line
Information
This example demonstrates how to use a resistive-inductive line model to connect a source to a load.
The model has three loads load_sc_1
, load_sc_2
,
and load_sc_3
representing short circuits R=0.
The current that flows through the load depends on the impedance of the line.
Each load is connected to the source with different configurations, however the equivalent impedance between each load and the source is the same. Since the equivalent impedances are the same, each load draw the same current.
Note:
The line model RL_3
is the same as RL_2
but it uses
dynamic phasors.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Resistance | Rbase | 10 | Base value for the line resistance [Ohm] |
Inductance | Lbase | Rbase/2/Modelica.Constants.p... | Base value for the line inductance [H] |
Modelica definition
Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid
Test model for a network model
Information
This example demonstrates how to use a network model to connect a source to a load. In this simple case the network has two nodes that are connected by a commercial line cable.
At the beginning of the simulation the load consumes power while at the and it produces power. The voltage at the load at the beginning is lower than the nominal RMS voltage (120 V) while at the end of the simulation it is higher. The voltage drop and increase are due to the presence of the cable between the source and the load.
The network uses cables of the type LowVoltageCable.Cu35
with
a length of 200 m.
The picture below describes the grid topology.
Extends from Modelica.Icons.Example (Icon for runnable examples).