Skip to content

Commit

Permalink
Merge pull request #60 from hiddencamper/fixSrv
Browse files Browse the repository at this point in the history
Corrected kg/hr conversion from 1/120 to 1/3600
  • Loading branch information
watchful5406 authored Oct 17, 2024
2 parents e0aafcb + f9c8b8b commit 9ef52ab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ def run():

#take pounds per hour
#becomes kilograms per hour (0.4536)
#to kilograms per second /120
#to kilograms per second 1/(60*60) = 1/3600

SRVOutflow = ((valve["flow"]*0.4536)/120)*((pressure.Pressures["Vessel"]/(valve["auto"]*6895)))*(valve["open_percent"]/100)
SRVOutflow = ((valve["flow"]*0.4536)/(60*60))*((pressure.Pressures["Vessel"]/(valve["auto"]*6895)))*(valve["open_percent"]/100)

SRVOutflow = SRVOutflow*0.1 #sim time

Expand Down

0 comments on commit 9ef52ab

Please sign in to comment.