LBL logo

Buildings.Electrical.Transmission.Grids

Package that contains different types of grids

Information

This package contains different types of grids that can be used to represent electrical networks. The topology of the network is specified by

Extends from Modelica.Icons.MaterialPropertiesPackage (Icon for package containing property classes).

Package Content

Name Description
Buildings.Electrical.Transmission.Grids.IEEE_34_AL120 IEEE_34_AL120 Grid model inspired to the IEEE 34 Node test feeder
Buildings.Electrical.Transmission.Grids.PartialGrid PartialGrid Partial model that represents a generalized grid
Buildings.Electrical.Transmission.Grids.TestGrid2Nodes TestGrid2Nodes Simple model of a grid with 2 nodes and 1 link
Buildings.Electrical.Transmission.Grids.TestGrid2NodesMedium TestGrid2NodesMedium Simple model of a grid with 2 nodes and 1 link for medium voltage

Buildings.Electrical.Transmission.Grids.IEEE_34_AL120 Buildings.Electrical.Transmission.Grids.IEEE_34_AL120

Grid model inspired to the IEEE 34 Node test feeder

Information

This model represents a grid inspired by the IEEE 34 node test feeder. In this example, the cable types and lengths have been modified in order to represent a typical distribution feeder.

The following three type of cables are in the grid: AL120, AL70, and Al35.

alt-image

Extends from Buildings.Electrical.Transmission.Grids.PartialGrid (Partial model that represents a generalized grid).

Parameters

TypeNameDefaultDescription
IntegernNodes34Number of nodes of the grid
IntegernLinks33Number of links connecting the nodes
IntegerfromTo[nLinks, 2][[1, 2]; [2, 3]; [3, 4]; [4,...Indexes [i,1]->[i,2] of the nodes connected by link i
Lengthl[nLinks, 1][48; 16; 16; 40; 32; 16; 16;...Length of the cable [m]

Modelica definition

record IEEE_34_AL120 "Grid model inspired to the IEEE 34 Node test feeder" extends Buildings.Electrical.Transmission.Grids.PartialGrid( nNodes=34, nLinks=33, l=[48;16;16;40;32;16;16;16;16;16;16;32;32;16;32;32;32;48;48;32;32;16;16;16; 16;16;32;32;16;32;16;16;16], fromTo=[[1,2]; [2,3]; [3,4]; [4,5]; [4,6]; [6,7]; [7,8]; [9,26]; [10,26]; [ 11,9]; [12,11]; [13,10]; [14,10]; [15,14]; [16,15]; [17,27]; [18,27]; [ 19,31]; [20,31]; [21,32]; [22,32]; [23,20]; [24,23]; [25,24]; [26,8]; [ 27,29]; [28,16]; [29,16]; [30,17]; [31,17]; [32,19]; [33,22]; [34,18]], redeclare Buildings.Electrical.Transmission.LowVoltageCables.Generic cables= {LowVoltageCables.PvcAl120(),LowVoltageCables.PvcAl120(), LowVoltageCables.PvcAl120(),LowVoltageCables.PvcAl120(), LowVoltageCables.PvcAl120(),LowVoltageCables.PvcAl120(), LowVoltageCables.PvcAl120(),LowVoltageCables.PvcAl120(), LowVoltageCables.PvcAl120(),LowVoltageCables.PvcAl120(), LowVoltageCables.PvcAl120(),LowVoltageCables.PvcAl120(), LowVoltageCables.PvcAl120(),LowVoltageCables.PvcAl120(), LowVoltageCables.PvcAl120(),LowVoltageCables.PvcAl70(), LowVoltageCables.PvcAl70(),LowVoltageCables.PvcAl35(), LowVoltageCables.PvcAl35(),LowVoltageCables.PvcAl35(), LowVoltageCables.PvcAl35(),LowVoltageCables.PvcAl35(), LowVoltageCables.PvcAl35(),LowVoltageCables.PvcAl35(), LowVoltageCables.PvcAl120(),LowVoltageCables.PvcAl70(), LowVoltageCables.PvcAl70(),LowVoltageCables.PvcAl70(), LowVoltageCables.PvcAl70(),LowVoltageCables.PvcAl70(), LowVoltageCables.PvcAl35(),LowVoltageCables.PvcAl35(), LowVoltageCables.PvcAl70()}); /* LEFT HERE TO CHECK CONSISTENCY LenVec={ 0,48,16,16,40, 32,16,16,16,16, 16,16,32,32,16, 32,32,32,48,48, 32,32,16,16,16, 16,16,32,32,16, 32,16,16,16}, CabTyp={ ,.PvcAl120(),.PvcAl120(),.PvcAl120(),.PvcAl120(), .PvcAl120(),.PvcAl120(),.PvcAl120(),.PvcAl120(),.PvcAl120(), .PvcAl120(),.PvcAl120(),.PvcAl120(),.PvcAl120(),.PvcAl120(), .PvcAl120(),.PvcAl70(),.PvcAl70(),.PvcAl35(),.PvcAl35(), .PvcAl35(),.PvcAl35(),.PvcAl35(),.PvcAl35(),.PvcAl35(), .PvcAl120(),.PvcAl70(),.PvcAl70(),.PvcAl70(),.PvcAl70(), .PvcAl70(),.PvcAl35(),.PvcAl35(),.PvcAl70()}); */ end IEEE_34_AL120;

Buildings.Electrical.Transmission.Grids.PartialGrid Buildings.Electrical.Transmission.Grids.PartialGrid

Partial model that represents a generalized grid

Information

This abstract grid model specifies the topology of the network by

The picture below describes the meaning of the values contained in the matrices.

image

Extends from Modelica.Icons.MaterialProperty (Icon for property classes).

Parameters

TypeNameDefaultDescription
IntegernNodes Number of nodes of the grid
IntegernLinks Number of links connecting the nodes
IntegerfromTo[nLinks, 2] Indexes [i,1]->[i,2] of the nodes connected by link i
Lengthl[nLinks, 1] Length of the cable [m]
BaseCablecables[nLinks]redeclare Buildings.Electric...Array that contains the characteristics of each cable

Modelica definition

record PartialGrid "Partial model that represents a generalized grid" extends Modelica.Icons.MaterialProperty; parameter Integer nNodes "Number of nodes of the grid"; parameter Integer nLinks "Number of links connecting the nodes"; parameter Integer fromTo[nLinks,2] "Indexes [i,1]->[i,2] of the nodes connected by link i"; parameter Modelica.SIunits.Length l[nLinks,1](each min=0) "Length of the cable"; replaceable Buildings.Electrical.Transmission.BaseClasses.BaseCable cables[nLinks] "Array that contains the characteristics of each cable"; end PartialGrid;

Buildings.Electrical.Transmission.Grids.TestGrid2Nodes Buildings.Electrical.Transmission.Grids.TestGrid2Nodes

Simple model of a grid with 2 nodes and 1 link

Information

This model represents a simple grid with two nodes and a single link between them.

The picture below describes the grid topology.

image

Extends from Buildings.Electrical.Transmission.Grids.PartialGrid (Partial model that represents a generalized grid).

Parameters

TypeNameDefaultDescription
IntegernNodes2Number of nodes of the grid
IntegernLinks1Number of links connecting the nodes
IntegerfromTo[nLinks, 2][[1, 2]]Indexes [i,1]->[i,2] of the nodes connected by link i
Lengthl[nLinks, 1][200]Length of the cable [m]

Modelica definition

record TestGrid2Nodes "Simple model of a grid with 2 nodes and 1 link" extends Buildings.Electrical.Transmission.Grids.PartialGrid( nNodes=2, nLinks=1, fromTo=[[1,2]], l=[200], redeclare Buildings.Electrical.Transmission.LowVoltageCables.Generic cables = {LowVoltageCables.Cu35()}); end TestGrid2Nodes;

Buildings.Electrical.Transmission.Grids.TestGrid2NodesMedium Buildings.Electrical.Transmission.Grids.TestGrid2NodesMedium

Simple model of a grid with 2 nodes and 1 link for medium voltage

Information

This model represents a simple grid with two nodes and a single link between them. This model differs from Buildings.Electrical.Transmission.Grids.TestGrid2Nodes because it defines a medium voltage cable instead of a low voltage cable.

The picture below describes the grid topology.

image

Extends from Buildings.Electrical.Transmission.Grids.PartialGrid (Partial model that represents a generalized grid).

Parameters

TypeNameDefaultDescription
IntegernNodes2Number of nodes of the grid
IntegernLinks1Number of links connecting the nodes
IntegerfromTo[nLinks, 2][[1, 2]]Indexes [i,1]->[i,2] of the nodes connected by link i
Lengthl[nLinks, 1][200]Length of the cable [m]

Modelica definition

record TestGrid2NodesMedium "Simple model of a grid with 2 nodes and 1 link for medium voltage" extends Buildings.Electrical.Transmission.Grids.PartialGrid( nNodes=2, nLinks=1, fromTo=[[1,2]], l=[200], redeclare Buildings.Electrical.Transmission.MediumVoltageCables.Generic cables = {MediumVoltageCables.Annealed_Al_30()}); end TestGrid2NodesMedium;

Automatically generated Mon Jul 13 14:23:43 2015.