Nodes of different colours represent the following:
Solid arrows point from a parent (sub)module to the submodule which is descended from it. Dashed arrows point from a module being used to the module or program unit using it. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | GeneratorType | |||
integer, | intent(in) | :: | GeneratorIndex | |||
real(kind=r64), | intent(out) | :: | GeneratorPower | |||
real(kind=r64), | intent(out) | :: | GeneratorEnergy | |||
real(kind=r64), | intent(out) | :: | ThermalPower | |||
real(kind=r64), | intent(out) | :: | ThermalEnergy |
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
SUBROUTINE GetPVGeneratorResults(GeneratorType,GeneratorIndex, &
GeneratorPower, GeneratorEnergy, &
ThermalPower , ThermalEnergy)
! SUBROUTINE INFORMATION:
! AUTHOR B. Griffith
! DATE WRITTEN Aug. 2008
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! provide a "get" method to collect results for individual electic load centers.
! METHODOLOGY EMPLOYED:
!
! REFERENCES:
! na
! USE STATEMENTS:
USE PhotovoltaicThermalCollectors , ONLY: GetPVTThermalPowerProduction
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: GeneratorType ! type of Generator !unused1208
INTEGER, INTENT(IN) :: GeneratorIndex
REAL(r64), INTENT(OUT) :: GeneratorPower ! electrical power
REAL(r64), INTENT(OUT) :: GeneratorEnergy ! electrical energy
REAL(r64), INTENT(OUT) :: ThermalPower
REAL(r64), INTENT(OUT) :: ThermalEnergy
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
! na
GeneratorPower = PVarray(GeneratorIndex)%Report%DCPower
GeneratorEnergy = PVarray(GeneratorIndex)%Report%DCEnergy
! PVT may add thermal
If (PVArray(GeneratorIndex)%CellIntegrationMode == iPVTSolarCollectorCellIntegration) Then
! get result for thermal power generation
Call GetPVTThermalPowerProduction(GeneratorIndex, ThermalPower, ThermalEnergy)
ELSE
ThermalPower = 0.0D0
ThermalEnergy = 0.0D0
ENDIF
RETURN
END SUBROUTINE GetPVGeneratorResults