|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381 |
- module CPumps
- use CPumpsVariables
- use CManifolds
- use CLog4
- implicit none
- public
- contains
- subroutine SetMudPump1LinerDiameter(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump1LinerDiameter
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump1LinerDiameter' :: SetMudPump1LinerDiameter
- implicit none
- real*8, intent(in) :: v
- MudPump1LinerDiameter = v
- call CalcPump1OutputBblStroke()
- #ifdef deb
- call Log_4( 'MudPump1LinerDiameter=', MudPump1LinerDiameter)
- #endif
- end subroutine
-
- subroutine SetMudPump1Stroke(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump1Stroke
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump1Stroke' :: SetMudPump1Stroke
- implicit none
- real*8, intent(in) :: v
- MudPump1Stroke = v
- !call CalcMudPump1LinerDiameter()
- call CalcPump1OutputBblStroke()
- #ifdef deb
- call Log_4( 'MudPump1Stroke=', v)
- #endif
- end subroutine
-
- subroutine SetMudPump1MechanicalEfficiency(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump1MechanicalEfficiency
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump1MechanicalEfficiency' :: SetMudPump1MechanicalEfficiency
- implicit none
- real*8, intent(in) :: v
- MudPump1MechanicalEfficiency = v
- end subroutine
-
- subroutine SetMudPump1VolumetricEfficiency(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump1VolumetricEfficiency
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump1VolumetricEfficiency' :: SetMudPump1VolumetricEfficiency
- implicit none
- real*8, intent(in) :: v
- MudPump1VolumetricEfficiency = v
- !call CalcMudPump1LinerDiameter()
- call CalcPump1OutputBblStroke()
- #ifdef deb
- call Log_4( 'MudPump1VolumetricEfficiency=', MudPump1VolumetricEfficiency)
- #endif
- end subroutine
-
- subroutine SetMudPump1Output(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump1Output
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump1Output' :: SetMudPump1Output
- implicit none
- real*8, intent(in) :: v
- MudPump1Output = v
- #ifdef deb
- print*, 'MudPump1Output=', MudPump1Output
- #endif
- end subroutine
-
- subroutine SetMudPump1OutputBblStroke(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump1OutputBblStroke
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump1OutputBblStroke' :: SetMudPump1OutputBblStroke
- implicit none
- real*8, intent(in) :: v
- MudPump1OutputBblStroke = v
- call CalcMudPump1LinerDiameter()
- #ifdef deb
- print*, 'MudPump1OutputBblStroke=', MudPump1OutputBblStroke
- #endif
- end subroutine
-
- subroutine SetMudPump1Maximum(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump1Maximum
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump1Maximum' :: SetMudPump1Maximum
- implicit none
- real*8, intent(in) :: v
- MudPump1Maximum = v
- end subroutine
-
- subroutine SetMudPump1ReliefValvePressure(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump1ReliefValvePressure
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump1ReliefValvePressure' :: SetMudPump1ReliefValvePressure
- implicit none
- real*8, intent(in) :: v
- MudPump1ReliefValvePressure = v
- end subroutine
-
-
-
- subroutine SetMudPump2LinerDiameter(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump2LinerDiameter
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump2LinerDiameter' :: SetMudPump2LinerDiameter
- implicit none
- real*8, intent(in) :: v
- MudPump2LinerDiameter = v
- call CalcPump2OutputBblStroke()
- #ifdef deb
- call Log_4( 'MudPump2LinerDiameter=', MudPump2LinerDiameter)
- #endif
- end subroutine
-
- subroutine SetMudPump2Stroke(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump2Stroke
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump2Stroke' :: SetMudPump2Stroke
- implicit none
- real*8, intent(in) :: v
- MudPump2Stroke = v
- !call CalcMudPump2LinerDiameter()
- call CalcPump2OutputBblStroke()
- #ifdef deb
- call Log_4( 'MudPump2Stroke=', MudPump2Stroke)
- #endif
- end subroutine
-
- subroutine SetMudPump2MechanicalEfficiency(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump2MechanicalEfficiency
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump2MechanicalEfficiency' :: SetMudPump2MechanicalEfficiency
- implicit none
- real*8, intent(in) :: v
- MudPump2MechanicalEfficiency = v
- end subroutine
-
- subroutine SetMudPump2VolumetricEfficiency(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump2VolumetricEfficiency
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump2VolumetricEfficiency' :: SetMudPump2VolumetricEfficiency
- implicit none
- real*8, intent(in) :: v
- MudPump2VolumetricEfficiency = v
- !call CalcMudPump2LinerDiameter()
- call CalcPump2OutputBblStroke()
- #ifdef deb
- call Log_4( 'MudPump2VolumetricEfficiency=', MudPump2VolumetricEfficiency)
- #endif
- end subroutine
-
- subroutine SetMudPump2Output(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump2Output
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump2Output' :: SetMudPump2Output
- implicit none
- real*8, intent(in) :: v
- MudPump2Output = v
- #ifdef deb
- print*, 'MudPump2Output=', MudPump2Output
- #endif
- end subroutine
-
- subroutine SetMudPump2OutputBblStroke(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump2OutputBblStroke
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump2OutputBblStroke' :: SetMudPump2OutputBblStroke
- implicit none
- real*8, intent(in) :: v
- MudPump2OutputBblStroke = v
- call CalcMudPump2LinerDiameter()
- #ifdef deb
- print*, 'MudPump2OutputBblStroke=', MudPump2OutputBblStroke
- #endif
- end subroutine
-
- subroutine SetMudPump2Maximum(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump2Maximum
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump2Maximum' :: SetMudPump2Maximum
- implicit none
- real*8, intent(in) :: v
- MudPump2Maximum = v
- end subroutine
-
- subroutine SetMudPump2ReliefValvePressure(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump2ReliefValvePressure
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump2ReliefValvePressure' :: SetMudPump2ReliefValvePressure
- implicit none
- real*8, intent(in) :: v
- MudPump2ReliefValvePressure = v
- end subroutine
-
-
-
- subroutine SetCementPumpLinerDiameter(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetCementPumpLinerDiameter
- !DEC$ ATTRIBUTES ALIAS: 'SetCementPumpLinerDiameter' :: SetCementPumpLinerDiameter
- implicit none
- real*8, intent(in) :: v
- CementPumpLinerDiameter = v
- call CalcPump3OutputBblStroke()
- #ifdef deb
- call Log_4( 'CementPumpLinerDiameter=', CementPumpLinerDiameter)
- #endif
- end subroutine
-
- subroutine SetCementPumpStroke(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetCementPumpStroke
- !DEC$ ATTRIBUTES ALIAS: 'SetCementPumpStroke' :: SetCementPumpStroke
- implicit none
- real*8, intent(in) :: v
- CementPumpStroke = v
- !call CalcMudPump3LinerDiameter()
- call CalcPump3OutputBblStroke()
- #ifdef deb
- call Log_4( 'CementPumpStroke=', CementPumpStroke)
- #endif
- end subroutine
-
- subroutine SetCementPumpMechanicalEfficiency(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetCementPumpMechanicalEfficiency
- !DEC$ ATTRIBUTES ALIAS: 'SetCementPumpMechanicalEfficiency' :: SetCementPumpMechanicalEfficiency
- implicit none
- real*8, intent(in) :: v
- CementPumpMechanicalEfficiency = v
- end subroutine
-
- subroutine SetCementPumpVolumetricEfficiency(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetCementPumpVolumetricEfficiency
- !DEC$ ATTRIBUTES ALIAS: 'SetCementPumpVolumetricEfficiency' :: SetCementPumpVolumetricEfficiency
- implicit none
- real*8, intent(in) :: v
- CementPumpVolumetricEfficiency = v
- !call CalcMudPump3LinerDiameter()
- call CalcPump3OutputBblStroke()
- #ifdef deb
- call Log_4( 'CementPumpVolumetricEfficiency=', CementPumpVolumetricEfficiency)
- #endif
- end subroutine
-
- subroutine SetCementPumpOutput(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetCementPumpOutput
- !DEC$ ATTRIBUTES ALIAS: 'SetCementPumpOutput' :: SetCementPumpOutput
- implicit none
- real*8, intent(in) :: v
- CementPumpOutput = v
- #ifdef deb
- print*, 'CementPumpOutput=', CementPumpOutput
- #endif
- end subroutine
-
- subroutine SetCementPumpOutputBblStroke(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetCementPumpOutputBblStroke
- !DEC$ ATTRIBUTES ALIAS: 'SetCementPumpOutputBblStroke' :: SetCementPumpOutputBblStroke
- implicit none
- real*8, intent(in) :: v
- CementPumpOutputBblStroke = v
- call CalcMudPump3LinerDiameter()
- #ifdef deb
- print*, 'CementPumpOutputBblStroke=', CementPumpOutputBblStroke
- #endif
- end subroutine
-
- subroutine SetCementPumpMaximum(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetCementPumpMaximum
- !DEC$ ATTRIBUTES ALIAS: 'SetCementPumpMaximum' :: SetCementPumpMaximum
- implicit none
- real*8, intent(in) :: v
- CementPumpMaximum = v
- end subroutine
-
- subroutine SetCementPumpReliefValvePressure(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetCementPumpReliefValvePressure
- !DEC$ ATTRIBUTES ALIAS: 'SetCementPumpReliefValvePressure' :: SetCementPumpReliefValvePressure
- implicit none
- real*8, intent(in) :: v
- CementPumpReliefValvePressure = v
- end subroutine
-
- subroutine SetMudPump1ReliefValveIsSet(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump1ReliefValveIsSet
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump1ReliefValveIsSet' :: SetMudPump1ReliefValveIsSet
- implicit none
- logical, intent(in) :: v
- if (MudPump1ReliefValveIsSet == v) return
- MudPump1ReliefValveIsSet = v
- #ifdef deb
- print*, 'MudPump1ReliefValveIsSet=', MudPump1ReliefValveIsSet
- #endif
- end subroutine
-
- subroutine SetMudPump2ReliefValveIsSet(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump2ReliefValveIsSet
- !DEC$ ATTRIBUTES ALIAS: 'SetMudPump2ReliefValveIsSet' :: SetMudPump2ReliefValveIsSet
- implicit none
- logical, intent(in) :: v
- if (MudPump2ReliefValveIsSet == v) return
- MudPump2ReliefValveIsSet = v
- #ifdef deb
- print*, 'MudPump2ReliefValveIsSet=', MudPump2ReliefValveIsSet
- #endif
- end subroutine
-
- subroutine SetCementPumpReliefValveIsSet(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetCementPumpReliefValveIsSet
- !DEC$ ATTRIBUTES ALIAS: 'SetCementPumpReliefValveIsSet' :: SetCementPumpReliefValveIsSet
- implicit none
- logical, intent(in) :: v
- if (CementPumpReliefValveIsSet == v) return
- CementPumpReliefValveIsSet = v
- #ifdef deb
- print*, 'CementPumpReliefValveIsSet=', CementPumpReliefValveIsSet
- #endif
- end subroutine
-
-
-
-
-
-
- subroutine SetManualPumpPower(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetManualPumpPower
- !DEC$ ATTRIBUTES ALIAS: 'SetManualPumpPower' :: SetManualPumpPower
- implicit none
- logical, intent(in) :: v
- ManualPumpPower = v
- call ChangeValve(23, v)
- #ifdef deb
- print*, 'ManualPumpPower=', ManualPumpPower
- #endif
- end subroutine
-
- subroutine SetValve1(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetValve1
- !DEC$ ATTRIBUTES ALIAS: 'SetValve1' :: SetValve1
- implicit none
- logical, intent(in) :: v
- Valve1 = v
- call ChangeValve(22, v)
- #ifdef deb
- print*, 'Valve1=', Valve1
- #endif
- end subroutine
-
- subroutine SetValve2(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetValve2
- !DEC$ ATTRIBUTES ALIAS: 'SetValve2' :: SetValve2
- implicit none
- logical, intent(in) :: v
- Valve2 = v
- call ChangeValve(19, v)
- #ifdef deb
- print*, 'Valve2=', Valve2
- #endif
- end subroutine
-
- subroutine SetValve3(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetValve3
- !DEC$ ATTRIBUTES ALIAS: 'SetValve3' :: SetValve3
- implicit none
- logical, intent(in) :: v
- Valve3 = v
- call ChangeValve(21, v)
- #ifdef deb
- print*, 'Valve3=', Valve3
- #endif
- end subroutine
-
- subroutine SetValve4(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetValve4
- !DEC$ ATTRIBUTES ALIAS: 'SetValve4' :: SetValve4
- implicit none
- logical, intent(in) :: v
- Valve4 = v
- call ChangeValve(20, v)
- #ifdef deb
- print*, 'Valve4=', Valve4
- #endif
- end subroutine
-
- subroutine SetValve5(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetValve5
- !DEC$ ATTRIBUTES ALIAS: 'SetValve5' :: SetValve5
- implicit none
- logical, intent(in) :: v
- Valve5 = v
- call ChangeValve(24, v)
- #ifdef deb
- print*, 'Valve5=', Valve5
- #endif
- end subroutine
-
-
- end module CPumps
|