Closed j-ti closed 1 year ago
I think an exception should be thrown, since not just order generation will not be possible but also handling of battery/schedule since most like the schedule is nan as well.
I also think that an exception can be thrown, but maybe it is helpful if additionally a warning is raised within the actor already when an order is generated with a NaN order type and energy, so the source of error is more clear.
In case actor reaches end of time series, it will create an order with an energy and order type of np.nan. Instead order should not be generated (a warning could be raised if actually data is missing)