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.
 
 
 
 
 
 

95 lines
3.3 KiB

  1. module CAccumulator
  2. use CAccumulatorVariables
  3. implicit none
  4. public
  5. contains
  6. subroutine SetNumberOfBottels(v)
  7. !DEC$ ATTRIBUTES DLLEXPORT :: SetNumberOfBottels
  8. !DEC$ ATTRIBUTES ALIAS: 'SetNumberOfBottels' :: SetNumberOfBottels
  9. implicit none
  10. integer, intent(in) :: v
  11. Accumulator%NumberOfBottels = v
  12. end subroutine
  13. subroutine SetAccumulatorSystemSize(v)
  14. !DEC$ ATTRIBUTES DLLEXPORT :: SetAccumulatorSystemSize
  15. !DEC$ ATTRIBUTES ALIAS: 'SetAccumulatorSystemSize' :: SetAccumulatorSystemSize
  16. implicit none
  17. real*8, intent(in) :: v
  18. Accumulator%AccumulatorSystemSize = v
  19. end subroutine
  20. subroutine SetOilTankVolume(v)
  21. !DEC$ ATTRIBUTES DLLEXPORT :: SetOilTankVolume
  22. !DEC$ ATTRIBUTES ALIAS: 'SetOilTankVolume' :: SetOilTankVolume
  23. implicit none
  24. real*8, intent(in) :: v
  25. Accumulator%OilTankVolume = v
  26. end subroutine
  27. subroutine SetPrechargePressure(v)
  28. !DEC$ ATTRIBUTES DLLEXPORT :: SetPrechargePressure
  29. !DEC$ ATTRIBUTES ALIAS: 'SetPrechargePressure' :: SetPrechargePressure
  30. implicit none
  31. real*8, intent(in) :: v
  32. Accumulator%PrechargePressure = v
  33. end subroutine
  34. subroutine SetAccumulatorMinimumOperatingPressure(v)
  35. !DEC$ ATTRIBUTES DLLEXPORT :: SetAccumulatorMinimumOperatingPressure
  36. !DEC$ ATTRIBUTES ALIAS: 'SetAccumulatorMinimumOperatingPressure' :: SetAccumulatorMinimumOperatingPressure
  37. implicit none
  38. real*8, intent(in) :: v
  39. Accumulator%AccumulatorMinimumOperatingPressure = v
  40. end subroutine
  41. subroutine SetElectricPumpOutput(v)
  42. !DEC$ ATTRIBUTES DLLEXPORT :: SetElectricPumpOutput
  43. !DEC$ ATTRIBUTES ALIAS: 'SetElectricPumpOutput' :: SetElectricPumpOutput
  44. implicit none
  45. real*8, intent(in) :: v
  46. Accumulator%ElectricPumpOutput = v
  47. end subroutine
  48. subroutine SetStartPressure(v)
  49. !DEC$ ATTRIBUTES DLLEXPORT :: SetStartPressure
  50. !DEC$ ATTRIBUTES ALIAS: 'SetStartPressure' :: SetStartPressure
  51. implicit none
  52. real*8, intent(in) :: v
  53. Accumulator%StartPressure = v
  54. end subroutine
  55. subroutine SetStopPressure(v)
  56. !DEC$ ATTRIBUTES DLLEXPORT :: SetStopPressure
  57. !DEC$ ATTRIBUTES ALIAS: 'SetStopPressure' :: SetStopPressure
  58. implicit none
  59. real*8, intent(in) :: v
  60. Accumulator%StopPressure = v
  61. end subroutine
  62. subroutine SetAirPlungerPumpOutput(v)
  63. !DEC$ ATTRIBUTES DLLEXPORT :: SetAirPlungerPumpOutput
  64. !DEC$ ATTRIBUTES ALIAS: 'SetAirPlungerPumpOutput' :: SetAirPlungerPumpOutput
  65. implicit none
  66. real*8, intent(in) :: v
  67. Accumulator%AirPlungerPumpOutput = v
  68. end subroutine
  69. subroutine SetStartPressure2(v)
  70. !DEC$ ATTRIBUTES DLLEXPORT :: SetStartPressure2
  71. !DEC$ ATTRIBUTES ALIAS: 'SetStartPressure2' :: SetStartPressure2
  72. implicit none
  73. real*8, intent(in) :: v
  74. Accumulator%StartPressure2 = v
  75. end subroutine
  76. subroutine SetStopPressure2(v)
  77. !DEC$ ATTRIBUTES DLLEXPORT :: SetStopPressure2
  78. !DEC$ ATTRIBUTES ALIAS: 'SetStopPressure2' :: SetStopPressure2
  79. implicit none
  80. real*8, intent(in) :: v
  81. Accumulator%StopPressure2 = v
  82. end subroutine
  83. end module CAccumulator