bernardo-suez

Results 2 issues of bernardo-suez

Function `_get_parameter_type` in line 117 of `instantiation.py` throws error `No AE parameter type corresponding to .` if the bounds of a range variable are calculated outside Ax using some Numpy...

enhancement

When calculating pump energy costs I'm getting an attribute error 'WaterNetworkModel' object has no attribute 'energy' [here](https://github.com/USEPA/WNTR/blob/89f73a870337a0b49ea4923d3920d9e62dd51341/wntr/metrics/economic.py#L398). I believe the fix would be to replace `if wn.energy.global_pattern is None:` by...

bug