| 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 GetMicroCHPGeneratorResults(GeneratorType, GeneratorIndex, &
                                 GeneratorPower,  GeneratorEnergy, ThermalPower, ThermalEnergy)
          ! SUBROUTINE INFORMATION:
          !       AUTHOR         B. Griffith
          !       DATE WRITTEN   March 2008
          !       MODIFIED       na
          !       RE-ENGINEERED  na
          ! PURPOSE OF THIS SUBROUTINE:
          ! provide a get method to collect results at the load center level
          ! METHODOLOGY EMPLOYED:
          ! <description>
          ! REFERENCES:
          ! na
          ! USE STATEMENTS:
          ! na
  IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
          ! SUBROUTINE ARGUMENT DEFINITIONS:
  INTEGER, INTENT(IN)           :: GeneratorType   ! type of Generator
  INTEGER, INTENT(IN)           :: GeneratorIndex
  REAL(r64), INTENT(OUT)        :: GeneratorPower  ! electrical power
  REAL(r64), INTENT(OUT)        :: GeneratorEnergy ! electrical energy
  REAL(r64), INTENT(OUT)        :: ThermalPower  ! heat power
  REAL(r64), INTENT(OUT)        :: ThermalEnergy ! heat energy
          ! SUBROUTINE PARAMETER DEFINITIONS:
          ! na
          ! INTERFACE BLOCK SPECIFICATIONS:
          ! na
          ! DERIVED TYPE DEFINITIONS:
          ! na
          ! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
  GeneratorPower  =  MicroCHP(GeneratorIndex)%Report%ACPowerGen
  GeneratorEnergy =  MicroCHP(GeneratorIndex)%Report%ACEnergyGen
  ThermalPower    =  MicroCHP(GeneratorIndex)%report%QdotHR
  ThermalEnergy   =  MicroCHP(GeneratorIndex)%report%TotalHeatEnergyRec
  RETURN
END SUBROUTINE GetMicroCHPGeneratorResults