PyMacroKernelPlugin.CMacroTurning

class CMacroTurning

Inheritance diagram of PyMacroKernelPlugin.CMacroTurning

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

The macro representation of a GKTurning in the macro model when doing an assignment.

__init__(arg__1, _connection)
Parameters:
  • arg__1GKTurning

  • _connectionGKModelConnection

getAdditionalVolume()
Return type:

float

Gets the additional volume.

getCapacity()
Return type:

float

Gets the turn capacity, in PCUs/h.

getControlJunctionType()
Return type:

GKControlJunctionType

Gets the control junction type, or the control junction type of the last control plan in the master control plan.

getCostFunction()
Return type:

GKFunctionCost

getCycle()
Return type:

float

Gets the cycle time [s].

getDestinationCapacity()
Return type:

float

Gets the capacity of the destination section, in PCUs/h.

getGreenTime()
Return type:

float

Gets the normal green-time for this turn [s].

getJDFunction()
Return type:

GKFunctionCost

getMaxGreenTime()
Return type:

float

Gets the maximum green-time for this turn [s].

getMinGreenTime()
Return type:

float

Gets the minimum green-time for this turn [s]. For actuated phases with recall Max it will add the maximum green time of the phase. For actuated phases with recall No it will not add any time to the min green time.

getNode()
Return type:

GKNode

getOriginCapacity()
Return type:

float

Gets the capacity of the origin section, in PCUs/h.

getSpeed()
Return type:

float

Gets the allowed speed of this turn [km/h].

getUncontrolledTime()
Return type:

float

Gets duration of time with no control defined (Uncontrolled or Unspecified).

getUserDefinedCost()
Return type:

float

Gets the user-defined cost.

getUserDefinedCost2()
Return type:

float

Gets the user-defined cost 2.

getUserDefinedCost3()
Return type:

float

Gets the user-defined cost 3.

getWarningIndicator()
Return type:

GKWarningIndicator

Gets the warning indicator

getYellowDuration()
Return type:

float

Gets the yellow-time for this turn [s].

length2D()
Return type:

float

Gets the turn 2D length in meters.

length3D()
Return type:

float

Gets the turn 3D length in meters.

setCapacity(capacity)
Parameters:

capacity – float

Sets the turn capacity, in PCUs/h.