DataTable
A DataTable holds plain rows of data — imported
records or decision variables that the optimiser writes to. It is the only
table type that supports decision variables and ComboField.
- class DataTable(id)[source]
Bases:
TableData Tables are used wherever plain data is required, including all input tables. Notably, optimiser decision variables can only appear in Data Tables, as these cells contain plain data that the optimiser writes.
In addition to holding data fields, Data Tables often include calculated fields, which can capture a significant portion of the model’s logic. For instance, in the ElectraNet 18-month planner, the Work_Orders table handles most of the model’s logic.