OrderVariableReference Module
Finds the order variable that a reference names, tells whether the variable is basic for a schedule and lists the adjusted and the invariant variables.
Functions and values
| Function or value |
Description
|
|
Returns the references to the per kg or per m2 variables: the quantity in the orderable per adjust unit of the orderable, every component and every item, and the adjusted doses of the orderable, every component and every item.
|
|
Returns the references to the invariant variables: the adjust quantity, the component quantity of each component, the component quantity and concentration of each item, and on a continuous schedule the dose count.
|
Full Usage:
isBasic sch ovarRef
Parameters:
Schedule
ovarRef : OrderVariableReference
Returns: bool
|
Returns true when the variable is basic for the schedule, so the other order variables are calculated from it: the frequency when the schedule has one, the dose quantity unless the schedule is continuous, the dose rate when the schedule has a time, the orderable quantity of each component, and the order count unless the schedule is once or once timed.
|
Full Usage:
tryGet ord ovarRef
Parameters:
Order
ovarRef : OrderVariableReference
Returns: OrderVariable option
|
Returns the order variable that the reference names, or None when the order has no such variable.
|
GenPRES