.BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium

Information

This example demonstrates how to use a network model to connect a source to a load (using a medium voltage cable). 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 end it produces power. The voltage at the load at the beginning is lower than the nominal RMS voltage (15 kV) 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 MediumVoltageCables.Annealed_Al_30 with a length of 200 m.

The picture below describes the grid topology.

image

Note:

The cables are usually defined using the LowVoltageCable.Generic type. In order to use a medium voltage cable it is necessary to redeclare the type of the record commercialCable.

ThreePhasesBalanced.Lines.Network network(

redeclare BuildingSystems.Electrical.Transmission.Grids.TestGrid2NodesMedium grid,

lines( redeclare BuildingSystems.Electrical.Transmission.MediumVoltageCables.Generic

commercialCable = network.grid.cables,

each V_nominal = network.V_nominal),

V_nominal=15000)

The code snippet shows how each line that is part of the vector lines is redeclared in order to have as type the record BuildingSystems.Electrical.Transmission.MediumVoltageCables.Generic. The lines are initialized using the cables of the grid network.grid.cables. All the lines have the same nominal voltage each V_nominal = network.V_nominal.

Revisions


Generated at 2024-11-07T19:25:29Z by OpenModelicaOpenModelica 1.24.0 using GenerateDoc.mos