Moving pressure calculation into `for` loop
Moving pressure calculation into `for` loop

Since during the optimization the temperatures, flow rates and pressures
should be optimized at each time step, this structure makes more sense
than calculating the pressure losses at the end.

architecture-building-systems/CEAforArcGIS,architecture-building-systems/CEAforArcGIS