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.

Pumps_VARIABLES.f90 1.6 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. MODULE Pumps_VARIABLES
  2. IMPLICIT NONE
  3. PUBLIC
  4. REAL , PARAMETER :: pi=3.14159265e0
  5. Logical :: Pumps_IsStopped
  6. Type, public:: Pumps_Type
  7. REAL :: Total_Pump_GPM, Total_Pump_SPM, Total_Stroke_Counter_For_Plot
  8. end Type Pumps_Type
  9. Type(Pumps_Type)::total_pumps
  10. !****************************************************************************************************
  11. !**************** Define PUMP Array ************************************************************
  12. TYPE, PUBLIC :: Pump_Var
  13. !***** Pump_VARIABLES ***************************
  14. INTEGER :: AssignmentSwitchh, Switch, K_throttle
  15. INTEGER :: PowerFailMalf , BlowPopOffMalf , SPMGaugeMalf , Failure
  16. REAL :: Throttle, RateChange
  17. REAL :: Stroke_Length, Piston_Area, Piston_Diameter, Inertia_Moment
  18. REAL :: Mech_Efficiency, Vol_Efficiency, Trans_Ratio
  19. REAL :: StandPipe_Pressure , Max_Pressure
  20. REAL :: Torque, Speed, N_new, N_old, MaxSPM
  21. REAL :: Flow_Rate, Hydraulic_HorsePower, Max_Horsepower, FlowRatePerSTK, Max_FlowRate
  22. REAL :: simulation_time, time_step
  23. REAL(8) :: START_TIME, END_TIME
  24. INTEGER :: INT_CPU_TIME, Dt_ref
  25. !************* Sound_VARIABLES **********************
  26. INTEGER :: SoundSPM
  27. Logical :: SoundBlower
  28. END TYPE Pump_Var
  29. TYPE(Pump_Var), DIMENSION(1:3) :: PUMP
  30. !***********************************************************************************************
  31. !***********************************************************************************************
  32. END MODULE Pumps_VARIABLES