Add checks on Supervisor functions
Add the following checks:
-
check Supervisor class in CreateController
andRunModel.Supervisor
-
check RunOptions class in RunModel.Supervisor
-
raise error if TimeStep parameter of CreateSupervisor is not positive -
raise an error of the location of a U is not related to a DirectInjection or a Diversion node (cf. #101 (closed)) -
raise error if a location of a Y is not a node id -
raise an error if the output of the logic control function does not fit with the number of time steps (rows) and the number of Us (columns)