SimSharp
SimSharp copied to clipboard
Fix empty fuel pump bug in GasStationRefueling sample
Adds check for empty fuel pump before attempting to draw fuel in GasStationRefueling sample, preventing an invalid get request for 0 fuel. Note: this bug only materialises when attributes are changed from current values such that an empty fuel pump occurs during simulation.