GeneralNetworkCouplingParameters

A matrix-like object that encapsulates a general network's coupling parameters.

Example

app = cf.GetApplication()
project = app:NewProject()

generalNetwork = project.SolutionConfigurations[1].Networks:AddGeneralNetwork(
    cf.Enums.GeneralNetworkDataTypeEnum.SMatrix, 2, {{1, 2}, {3, 4}}, {{1.5, 2.5}, {3.5, 4.5}})

    -- Retrieve the coupling parameters

couplingParameters = generalNetwork.CouplingParameters

    -- Modify a coupling parameter

couplingParameters[1][1].Im = 0

Usage locations (object properties)

The following objects have properties using the GeneralNetworkCouplingParameters object:

Property List

Type
The object type string. (Read only string)

Index List

[number]
Access the specified row of coupling parameters for the general network. (Read GeneralNetworkCouplingParametersIndexer)

Property Details

Type
The object type string.
Type
string
Access
Read only