On my first try I had a table without indices, in this case PlantSimulation throw an error, as no value is in cell[0,0] in this case. To circumvent this problem, I've updated the table class to check if the table has a ColumnIndex or RowIndex and set the starting values of range() accordingly. Additionally, some getters are updated to respect the (non)-existence of column or row indices.
On my first try I had a table without indices, in this case PlantSimulation throw an error, as no value is in cell[0,0] in this case. To circumvent this problem, I've updated the table class to check if the table has a ColumnIndex or RowIndex and set the starting values of range() accordingly. Additionally, some getters are updated to respect the (non)-existence of column or row indices.