An NDoc Documented Class Library

Storage.storage_constraint Method 

Method: storage_constraint

[Visual Basic]
Private Sub storage_constraint( _ 
   ByVal Valuation As String, _ 
   ByVal traj As Integer, _ 
   ByVal dayctr As Integer _ 
)
[C#]
private void storage_constraint(
   string Valuation,
   int traj,
   int dayctr
);
[C++]
private: void storage_constraint(
   String* Valuation,
   int traj,
   int dayctr
);
[JScript]
private function storage_constraint(
   String Valuation,
   int traj,
   int dayctr
);

Parameters

Valuation
traj
Current Trajectory
dayctr
Counter for days

Return Value

NA

Remarks

'Name: Storage_Contraints Sequence: call from storagecall macro. Inputs: Macro(Variables) Passed: valuation - method of valuation (Intrinsic/Extrinsic) modelfile - macro variable of name for dataset containing the facility inputs trajectory - trajectory to evaluate counterparty() evaldate - current date to evaluate lastdate - last evaluation date to handle weekends and holidays Datasets: Description: This is the constraint construction and price build program requires the constraints dataset and crv_storage price input dataset. This builds the contraints inest datasets for proc nlp. The macro is called after each interation of the optimizer to update the inest dataset. Valuation = Intrinsic Or Extrinsic uses the curve to calc the intrinsic value or written by joe byers build the LP input data set variables

See Also

Storage Class | CommodityStorage.Storage Namespace