recordTestGrid2Nodes

Simple model of a grid with 2 nodes and 1 link

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

Information

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

The picture below describes the grid topology.

image

Parameters

TypeNameDefaultDescription
IntegernNodes (from PartialGrid)Number of nodes of the grid
Integer[nLinks,2]fromTo (from PartialGrid)Indexes [i,1]->[i,2] of the nodes connected by link i
Modelica.Units.SI.Length[nLinks,1]l (from PartialGrid)Length of the cable

Components

TypeNameDefaultDescription
Buildings.Electrical.Transmission.BaseClasses.BaseCable[nLinks]cables (from PartialGrid)Array that contains the characteristics of each cable

Revisions

  • September 23, 2014, by Marco Bonvini:
    Added redeclare statement needed to specify the type of cables used in the array.
  • June 3, 2014, by Marco Bonvini:
    Added User's guide.