Simulation Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

49 lines
1.5 KiB

  1. MODULE Pumps_VARIABLES
  2. IMPLICIT NONE
  3. PUBLIC
  4. REAL , PARAMETER :: pi=3.14159265d0
  5. Type, public:: Pumps_Var
  6. REAL :: Total_Pump_GPM, Total_Pump_SPM, Total_Stroke_Counter_For_Plot
  7. end Type Pumps_Var
  8. Type(Pumps_Var) :: MPumps
  9. !****************************************************************************************************
  10. !**************** Define PUMP Array ************************************************************
  11. TYPE, PUBLIC :: Pump_Var
  12. !***** Pump_VARIABLES ***************************
  13. INTEGER :: AssignmentSwitchh, Switch, K_throttle
  14. INTEGER :: PowerFailMalf , BlowPopOffMalf , SPMGaugeMalf , Failure
  15. REAL :: Throttle, RateChange
  16. REAL :: Mech_Efficiency, Vol_Efficiency, Trans_Ratio
  17. REAL :: StandPipe_Pressure , Max_Pressure
  18. REAL :: Speed, N_new, N_old, MaxSPM
  19. REAL :: Flow_Rate, Hydraulic_HorsePower, Max_Horsepower, FlowRatePerSTK, Max_FlowRate, HorsePower
  20. REAL :: time_step
  21. INTEGER :: BLWR ! 1=On , 0=Off
  22. INTEGER :: Open_Close ! 1=Open , 0=Close
  23. !************* Sound_VARIABLES **********************
  24. INTEGER :: SoundSPM
  25. Logical :: SoundBlower
  26. END TYPE Pump_Var
  27. TYPE(Pump_Var), DIMENSION(1:3) :: PUMP
  28. !***********************************************************************************************
  29. !***********************************************************************************************
  30. END MODULE Pumps_VARIABLES