GeneralNetworkCouplingParameter

An object that encapsulates the real and imaginary components of a general network coupling parameter.

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}})

    -- Modify a coupling parameter

generalNetwork.CouplingParameters[1][1].Re = 2
generalNetwork.CouplingParameters[1][1].Im = 0

Property List

Im
The imaginary component of the coupling parameter. (Read/Write string)
Re
The real component of the coupling parameter. (Read/Write string)
Type
The object type string. (Read only string)

Property Details

Im
The imaginary component of the coupling parameter.
Type
string
Access
Read/Write
Re
The real component of the coupling parameter.
Type
string
Access
Read/Write
Type
The object type string.
Type
string
Access
Read only