BSDFGeomDescr Derived Type

type, public :: BSDFGeomDescr

type~~bsdfgeomdescr~~InheritsGraph type~bsdfgeomdescr BSDFGeomDescr type~basisstruct BasisStruct type~basisstruct->type~bsdfgeomdescr Inc, Trn type~vector vector type~vector->type~bsdfgeomdescr sInc, GndPt, HitPt, sTrn type~bsdfdaylghtposition BSDFDaylghtPosition type~bsdfdaylghtposition->type~bsdfgeomdescr pInc, pTrn type~basiselemdescr BasisElemDescr type~basiselemdescr->type~basisstruct Grid
Help


Inherited By

type~~bsdfgeomdescr~~InheritedByGraph type~bsdfgeomdescr BSDFGeomDescr type~bsdfwindowgeomdescr BSDFWindowGeomDescr type~bsdfgeomdescr->type~bsdfwindowgeomdescr Geom
Help

Source Code


Components

TypeVisibility AttributesNameInitial
type(BasisStruct), public :: Inc
type(vector), public, DIMENSION(:), ALLOCATABLE:: sInc
type(BSDFDaylghtPosition), public, DIMENSION(:), ALLOCATABLE:: pInc
real(kind=r64), public, DIMENSION(:), ALLOCATABLE:: CosInc
real(kind=r64), public, DIMENSION(:), ALLOCATABLE:: DAInc
integer, public :: NSkyUnobs
integer, public :: NGndUnobs
integer, public :: NSky
integer, public :: NGnd
integer, public :: NReflSurf
integer, public, DIMENSION(:), ALLOCATABLE:: SkyIndex
integer, public, DIMENSION(:), ALLOCATABLE:: GndIndex
type(vector), public, DIMENSION(:), ALLOCATABLE:: GndPt
integer, public, DIMENSION(:), ALLOCATABLE:: RefSurfIndex
integer, public, DIMENSION(:), ALLOCATABLE:: RefRayNHits
integer, public, DIMENSION(:,:), ALLOCATABLE:: HitSurfNo
real(kind=r64), public, DIMENSION(:,:), ALLOCATABLE:: HitSurfDSq
type(vector), public, DIMENSION(:,:), ALLOCATABLE:: HitPt
real(kind=r64), public, DIMENSION(:), ALLOCATABLE:: SolSkyWt
real(kind=r64), public, DIMENSION(:), ALLOCATABLE:: SolSkyGndWt
real(kind=r64), public, DIMENSION(: , : , : ), ALLOCATABLE:: SolBmGndWt
integer, public, DIMENSION( : , : ), ALLOCATABLE:: SolBmIndex
real(kind=r64), public, DIMENSION(: , :), ALLOCATABLE:: ThetaBm
real(kind=r64), public, DIMENSION(: , :), ALLOCATABLE:: PhiBm
type(BasisStruct), public :: Trn
type(vector), public, DIMENSION(:), ALLOCATABLE:: sTrn
type(BSDFDaylghtPosition), public, DIMENSION(:), ALLOCATABLE:: pTrn
integer, public, DIMENSION(:), ALLOCATABLE:: NSurfInt
integer, public, DIMENSION(:,:), ALLOCATABLE:: SurfInt
real(kind=r64), public, DIMENSION (: , : ), ALLOCATABLE:: SjdotN
real(kind=r64), public, DIMENSION(:,:), ALLOCATABLE:: AOverlap
real(kind=r64), public, DIMENSION(:,:), ALLOCATABLE:: ARhoVisOverlap
real(kind=r64), public, DIMENSION(:), ALLOCATABLE:: AveRhoVisOverlap
logical, public :: InitState =.TRUE.

Source Code

TYPE BSDFGeomDescr
  TYPE (BasisStruct)  ::  Inc    !Basis for incident hemisphere
  TYPE (Vector), DIMENSION(:), ALLOCATABLE  :: sInc  !Central direction vectors of incident grid (World coords)
  TYPE (BSDFDaylghtPosition), DIMENSION(:), ALLOCATABLE :: pInc ! azimuth and altitude of incidence vectors
  REAL(r64), DIMENSION(:), ALLOCATABLE :: CosInc ! cosine of incident angle
  REAL(r64), DIMENSION(:), ALLOCATABLE :: DAInc ! cosine of incident angle times delta theta time delta phi 
                                              ! (used in daylighting calculations)
  INTEGER  :: NSkyUnobs  !Number of Inc basis rays from unobstructed sky
  INTEGER  :: NGndUnobs  !Number of Inc basis rays from unobstructed ground
  INTEGER  :: NSky    !Number of Inc basis rays from sky
  INTEGER  :: NGnd    !Number of Inc basis rays from gnd
  INTEGER  :: NReflSurf  !Number of Inc basis rays from (potentially reflecting) surfaces
  INTEGER, DIMENSION(:), ALLOCATABLE  ::  SkyIndex  !list of sky basis indices
  INTEGER, DIMENSION(:), ALLOCATABLE  ::  GndIndex  !list of gnd basis indices
  TYPE (Vector), DIMENSION(:), ALLOCATABLE  ::  GndPt  !gnd intersection pt of gnd basis ray (z=0)
  INTEGER, DIMENSION(:), ALLOCATABLE  ::  RefSurfIndex  !list of basis indices of rays striking exterior surf
  INTEGER, DIMENSION(:), ALLOCATABLE  ::  RefRayNHits  !for a given ray striking a surface, no. of surfaces pierced
  INTEGER, DIMENSION(:,:), ALLOCATABLE  ::  HitSurfNo  !for a given ray striking surface, list of intersected surf nos
  REAL(r64), DIMENSION(:,:), ALLOCATABLE  ::  HitSurfDSq  ! for a given ray striking surface, list of distance^2
                                                                                                                !  from window
  TYPE (Vector), DIMENSION(:,:), ALLOCATABLE    ::  HitPt  ! for a given ray striking surface, list of hit pts
  REAL(r64), DIMENSION(:), ALLOCATABLE    ::  SolSkyWt  !Sky intensity weights
  REAL(r64), DIMENSION(:), ALLOCATABLE    ::  SolSkyGndWt  !Wts for sky rad refl from grn
  REAL(r64), DIMENSION(: , : , : ), ALLOCATABLE    ::  SolBmGndWt  !Wts for beam rad refl from gnd (hour, timestep)
  INTEGER, DIMENSION( : , : ), ALLOCATABLE  ::  SolBmIndex  !Basis index corresponding to beam dir (hour, timestep)
                !Note this is zero if sun is not in incident hemisphere
                !otherwise in range 1..NBasis
  REAL(r64), DIMENSION(: , :), ALLOCATABLE :: ThetaBm ! Theta angle corresponging to beam dir (hour, timestep) (rad)
  REAL(r64), DIMENSION(: , :), ALLOCATABLE :: PhiBm ! Theta angle corresponging to beam dir (hour, timestep) (rad)
  TYPE (BasisStruct)  ::  Trn
  TYPE (Vector), DIMENSION(:), ALLOCATABLE    :: sTrn  !Central direction vectors of Outgoing grid (World coords)
  TYPE (BSDFDaylghtPosition), DIMENSION(:), ALLOCATABLE :: pTrn ! azimuth and altitude of incidence vectors
  INTEGER, DIMENSION(:), ALLOCATABLE    ::  NSurfInt  !No. of basis rays intersecting back surface (dim from
                !NBkSurf in BSDF State Descr)
  INTEGER, DIMENSION(:,:), ALLOCATABLE    ::  SurfInt  !Basis index (IBkSurf, j) of the jth ray intersecting IBkSurf
  REAL(r64), DIMENSION (: , : ), ALLOCATABLE  ::  SjdotN  !dot product (IBksurf, j) of the jth ray direction with
                                                          ! the normal to the back surface
  REAL(r64), DIMENSION(:,:), ALLOCATABLE :: AOverlap ! Overlap areas for each outgoing
                                                     ! direction (Trn) (no of outgoing dir, NBKSurf)
  REAL(r64), DIMENSION(:,:), ALLOCATABLE :: ARhoVisOverlap ! Overlap areas multiplied with surface reflectance for each outgoing 
                                                           ! direction (Trn) (no of outgoing dir, NBKSurf)
  REAL(r64), DIMENSION(:), ALLOCATABLE   :: AveRhoVisOverlap ! Average visible reflectance from overlap surface which 
                                                             ! originates from one outgoing direction
  LOGICAL :: InitState = .TRUE.  ! Flag for marking that state needs to be initalized
END TYPE BSDFGeomDescr

ActuatorUsedType AiflowNetworkReportProp AirChillerSetData AirConnectionStruct AirflowNetworkCompProp AirflowNetworkExchangeProp AirflowNetworkLinkageProp AirflowNetworkLinkReportData AirflowNetworkLinkSimuData AirflowNetworkNodeProp AirflowNetworkNodeReportData AirflowNetworkNodeSimuData AirflowNetworkReportVars AirflowNetworkSimuProp AirIn AirLoopBranchData AirLoopCompData AirLoopControlData AirLoopFlowData AirLoopMixerData AirLoopOutsideAirConnectData AirLoopSplitterData AirLoopStatsType AirLooptoZoneData AirLoopZoneEquipConnectData AirModelData AirNodeData AirPatternInfobyZoneStruct AirReportVars AirTerminalMixerData AngleFactorData BalancedDesDehumPerfData BaseboardParams BaseboardParams BaseCell BaseChillerSpecs BasementZoneInfo BaseReportVars BaseThermalPropertySet BasisElemDescr BasisStruct BatteryDichargeDataStruct BBHeatData BinObjVarIDType BinResultsType BinStatisticsType BLASTAbsorberSpecs BoilerSpecs BoilerSpecs BoundingBoxVertStruct BranchData BranchData BranchListData BSDFBkSurfDescr BSDFDaylghtGeomDescr BSDFDaylghtPosition BSDFGeomDescr BSDFLayerAbsorpStruct BSDFRefPoints BSDFRefPointsGeomDescr BSDFStateDescr BSDFWindowDescript BSDFWindowGeomDescr BSDFWindowInputStruct cached_psat_t cached_twb_t CartesianCell CartesianPipeCellInformation CaseAndWalkInListDef CaseRAFractionData CaseWIZoneReportData CashFlowType CBVAVData CECInverterLookUpTableData CFSFILLGAS CFSGAP CFSLAYER CFSLWP CFSSWP CFSTY CGSHPNodeData ChargeBlockType ChargeSimpleType ChillerheaterSpecs CHReportVars CoefficientProps CoilCreditData CoilType CollectorData ColumnTagType CommonPipeData CompData CompDesWaterFlowData ComponentData ComponentData ComponentListData ComponentNameData ComponentProps ComponentSetPtData CompressorListDef CompSizeTableEntryType ComputationType ConnectAirSysComp ConnectAirSysSubComp ConnectAirSysSubSubComp ConnectedLoopData ConnectionPoint ConnectorData ConnectZoneComp ConnectZoneSubComp ConnectZoneSubSubComp ConstantFlowRadiantSystemData ConstCOPChillerSpecs ConstCOPReportVars ConstGradPattern ConstructionData ConstructionDataFD ContaminantData ControllerListProps ControllerPropsType ControllerStatsType ControlList ControlsType ConvectionCoefficient CoolBeamData CoolTowerParams CostAdjustmentStruct CostLineItemStruct CTGeneratorSpecs CurSimConditionsInfo CVData CVDVParameters CVFlow DamperDesignParams DamperFlowConditions DataPeriodData DataSetPointManager DaylightSavingPeriodData DayScheduleData DayWeatherVariables DCtoACInverterStruct DefineASHRAEAdaptiveOptimumStartCoeffs DefineColdestSetPointManager DefineCondEntSetPointManager DefineDiffTSysAvailManager DefineFollowOATempSetPointManager DefineFollowSysNodeTempSetPointManager DefineGroundTempSetPointManager DefineHiLoSysAvailManager DefineHybridVentSysAvailManager DefineIdealCondEntSetPointManager DefineLinearModelNode DefineMixedAirSetPointManager DefineNightCycSysAvailManager DefineNightVentSysAvailManager DefineOAPretreatSetPointManager DefineOptStartSysAvailManager DefineOutsideAirSetPointManager DefinePriAirSysAvailMgrs DefinePrimaryAirSystem DefineSchedDualSetPointManager DefineSchedOffSysAvailManager DefineSchedOnSysAvailManager DefineSchedSysAvailManager DefineScheduledSetPointManager DefineSurfaceSettings DefineSZCoolingSetPointManager DefineSZHeatingSetPointManager DefineSZMaxHumSetPointManager DefineSZMinHumSetPointManager DefineSZOneStageCoolinggSetPointManager DefineSZOneStageHeatingSetPointManager DefineSZReheatSetPointManager DefineWarmestSetPointManager DefineZoneCompAvailMgrs DefineZoneData DefMultiZoneAverageCoolingSetPointManager DefMultiZoneAverageHeatingSetPointManager DefMultiZoneAverageMaxHumSetPointManager DefMultiZoneAverageMinHumSetPointManager DefMultiZoneMaxHumSetPointManager DefMultiZoneMinHumSetPointManager DefRABFlowSetPointManager DefWarmestSetPtManagerTempFlow DemandManagerData DemandManagerListData DesDayWeathData DesiccantDehumidifierData DesignDayData DesignSpecMSHPData DetailedIceStorageData DirectAirProps DirectionNeighbor_Dictionary DirectionReal_Dictionary DisSysCompCoilProp DisSysCompCPDProp DisSysCompCVFProp DisSysCompDamperProp DisSysCompDetFanProp DisSysCompDuctProp DisSysCompELRProp DisSysCompHXProp DisSysCompLeakProp DisSysCompTermUnitProp DisSysLinkageProp DisSysNodeProp DistributionStructure DomainRectangle dTriangle DuctData DVData DXCoilData DXCoolingConditions DXHeatPumpSystemStruct EarthTubeData EarthTubeZoneReportVars EconVarType ElecBaseboardParams ElecStorageDataStruct ElectricChillerSpecs ElectricEIRChillerSpecs ElectricPowerLoadCenter ElectricRadiantSystemData ElectricReportVars ElectricTransformer EMSActuatorAvailableType EMSProgramCallManagementType EndUseCategoryType Energy EngineDrivenChillerSpecs EngineDrivenReportVars EnvironmentData EqNodeConnectionDef EquipConfiguration EquipList EquipListCompData EquipListPtrData EquipmentData EquipMeterData EquipOpList ErlExpressionType ErlStackType ErlValueType ErlVariableType EvapConditions EvapFluidCoolerInletConds EvapFluidCoolerspecs ExhaustAbsorberSpecs ExtendedFluidProperties ExteriorEquipmentUsage ExteriorLightUsage ExtVentedCavityStruct Face FanCoilData FanEquipConditions FarfieldInfo FaultProperties FCAirSupplyDataStruct FCAuxilHeatDataStruct FCDataStruct FCElecStorageDataStruct FCExhaustHXDataStruct FCInverterDataStruct FCPowerModuleStruct FCReportDataStruct FCStackCoolerDataStruct FCWaterSupplyDataStruct FenestrationSolarAbsorbed FileSectionsDefinition FluidCellInformation FluidCoolerInletConds FluidCoolerspecs FluidPropsGlycolData FluidPropsGlycolErrors FluidPropsGlycolRawData FluidPropsRefrigerantData FluidPropsRefrigErrors FrameDividerProperties FuelTypeProps FullDomainStructureInfo FurnaceEquipConditions GapDeflectionState GapSupportPillar GasAbsorberSpecs GasPropertyDataStruct GasTurbineReportVars GenData GeneratorDynamicsManagerStruct GeneratorFuelSupplyDataStruct GenericComponentZoneIntGainStruct GlheSpecs GlobalInternalGainMiscObject GridRegion GroundwaterWellDataStruct GshpSpecs GshpSpecs GshpSpecs GTChillerSpecs HalfLoopData HcInsideFaceUserCurveStruct HcOutsideFaceUserCurveStruct HeatExchangerStruct HeatExchCond HeatingCoilEquipConditions HeatPumpWaterHeaterData HeatReclaimDXCoilData HeatReclaimRefrigCondenserData HeatReclaimRefrigeratedRackData HighTempRadiantSystemData HumidifierData HVACAirLoopIterationConvergenceStruct HVACNodeConvergLogStruct HVACZoneInletConvergenceStruct HWBaseboardParams HXAssistedCoilParameters HydronicRadiantSystemData ICEngineGeneratorSpecs IceStorageMapping IceStorageSpecs IllumMapData IndirectAbsorberSpecs IndUnitData InfiltrationData InsideFaceAdaptiveConvAlgoStruct InstructionType IntegerVariables IntegerVariableType InternalVarsAvailableType InternalVarsUsedType IntWinAdjZoneExtWinStruct IrrigationDataStruct LightsData LineDefinition LocalPipeData Location LoopPipeData LoopSidePumpInformation LoopSideReportVars m_FlowControlValidator MapCalcData MarkedNodeData MaterialDataFD MaterialProperties MatrixDataStruct MeshExtents MeshPartition MeshPartitions MeshProperties MeterArrayType MeterData MeterType MicroCHPDataStruct MicroCHPParamsNonNormalized MicroCHPReportDataStruct MissingData MissingDataCounts MixerConditions MixerData MixerData MixingData MoistureInfo monetaryUnitType MonthlyColumnsType MonthlyFieldSetInputType MonthlyInputType MonthlyTablesType MoreNodeData MSHeatPumpData MSHeatPumpReportData MTGeneratorSpecs MultizoneCompDetOpeningProp MultizoneCompExhaustFanProp MultizoneCompHorOpeningProp MultizoneCompSimpleOpeningProp MultizoneCPArrayProp MultizoneCPValueProp MultizoneExternalNodeProp MultizoneSurfaceCrackProp MultizoneSurfaceCrackStdCndns MultizoneSurfaceELAProp MultizoneSurfaceProp MultizoneZoneProp NamedMonthlyType NeighborInformation NightVentPerfData NodeConnectionDef NodeData NodeListDef NonrecurringCostType OAControllerData OAControllerProps OAEquipList OAMixerProps OARequirementsData OAUnitData ObjectsDefinition OperationData OperatorType OpSchemePtrData OptStartDataType OSCData OSCMData OutputReportingVariables OutputTableBinnedType OutputVarSensorType OutsideAirSysProps OutsideEnergySourceSpecs OutsideFaceAdpativeConvAlgoStruct PackagedTESCoolingCoilStruct ParametersData ParentListData PeopleData PerfCurveTableDataStruct PerfomanceCurveData PipeCircuitInfo PipeData PipeHeatTransferReport PipeHTData PipeSegmentInfo PlaneEq PlantAvailMgrData PlantCallingOrderInfoStruct PlantConnection PlantConnectionStruct PlantConnectionStruct PlantConvergencePoint PlantIterationConvergenceStruct PlantLocation PlantLocatorStruct PlantLoopData PlantPressureCurveData PlantProfileData PlantSizingData Point Point3DInteger Point3DReal PointF PointType PollutionProps Polyhedron PondGroundHeatExchangerData PondGroundHeatExchangerReport PowIndUnitData PTUnitData PumpSpecs PumpVFDControlData PVArrayStruct PVReportVariables PVTCollectorStruct PVTReportStruct QualifyType RadialCellInformation RadialSizing RadSysTypeData RainfallCollectorDataStruct RangeCheckDef RangeDataCounts RatchetType RealVariables RealVariableType RectangleF RecurringCostsType RecurringErrorData ReformulatedEIRChillerSpecs RefrigCaseCreditData RefrigCaseData RefrigCompressorData RefrigCondenserData RefrigGasCoolerData RefrigRackData RefrigSystemData ReportBranchData ReportCompData ReportEIRVars ReportingInformation ReportLoopData reportNameType ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReqReportVariables ReturnAir RoofGeoCharactisticsStruct RootFinderDataType RunPeriodData RuntimeReportVarType ScheduleData ScheduleTypeData ScreenTransData SecondaryLoopData SecretObjects SectionsDefinition ShadingVertexData ShadowingCombinations ShadowRelateType ShelfData SimplePVParamsStruct SimplePVTModelStruct SimpleWatertoAirHPConditions SimulationControl SimulationOrder SiteRainFallDataStruct SlabListData SNLModuleParamsStuct SNLPVCalcStruct SNLPVInputStruct SolReflRecSurfData SolutionTrackerType SpecialDayData SpectralDataProperties SplitterConditions SplitterData SplitterData StackType StandAloneERVData SteamBaseboardParams SteamCoilEquipConditions StorageTankDataStruct StormWindowData StratifiedNodeData subcell SubcomponentData SubcoolerData SubEquipmentData SubSubcomponentData SubSubEquipmentData SubTableType SummarizeLoads SupplyAir SurfaceAssocNestedStruct SurfaceData SurfaceDataFD SurfaceErrorTracking SurfaceGroundHeatExchangerData SurfaceGroundHeatExchangerQTF SurfaceGroundHeatExchngrReport SurfaceListData SurfaceScreenProperties SurfaceSolarIncident SurfaceWindowCalc SurfMapPattern SysAvailManagerList SysDesignParams SysFlowConditions SystemSizingData SystemSizingInputData TableDataStruct TableEntryType TableLookupData TariffType TCGlazingsType TDDPipeData TemperaturePatternStruct TemperValveData TempGridRegionData TempLoopData TempVsHeightPattern TerminalUnitListData TermUnitSizingData ThermalChimneyData ThermalComfortDataType ThermalComfortInASH55Type ThermalComfortSetpointType ThermChimReportVars ThermChimZnReportVars TimeSteps timings TOCEntriesType TokenType TowerInletConds Towerspecs TransferLoadListDef TransRefrigSystemData TrendVariableType TriQuadraticCurveDataStruct TRNSYSPVCalcStruct TRNSYSPVModuleParamsStruct TStatObject TwoVertGradInterpolPattern TypicalExtremeData UFEData UFIData UnitarySystemData UnitConvType UnitHeaterData UnitVentilatorData UseAdjustmentType UsePriceEscalationType UserAirTerminalComponentStruct UserCoilComponentStruct UserPlantComponentStruct UserZoneHVACForcedAirComponentStruct UTSCDataStruct VariableSpeedCoilData VariableTypeForDDOutput vector Vector_2d VentilatedSlabData VentilationData VentilationMechanicalProps VRFCondenserEquipment VRFTerminalUnitEquipment VSTowerData WalkInData WarehouseCoilData WarmupConvergence WaterCoilEquipConditions WaterConnectionsType WaterEquipmentType WaterHeaterDesuperheaterData WaterHeaterSizingData WaterSourceSpecs WaterThermalTankData WatertoAirHPEquipConditions WaterUseTankConnectionStruct WeatherProperties WeekScheduleData WholeBuildingElectricPowerSummary WindACData WindowBlindProperties WindowComplexShade WindowIndex WindowShadingControlData WindowStateIndex WindowThermalModelParams WindTurbineParams WrapperComponentSpecs WrapperReportVars WrapperSpecs ZoneAirBalanceData ZoneAirDistributionData ZoneAirEquip ZoneCatEUseData ZoneComfortControls ZoneComfortControlsFangerData ZoneComfortFangerControlType ZoneCompTypeData ZoneContamGenericDataBLDiff ZoneContamGenericDataConstant ZoneContamGenericDataCutoff ZoneContamGenericDataDecay ZoneContamGenericDataDRS ZoneContamGenericDataDVS ZoneContamGenericDataPDriven ZoneContControls ZoneData ZoneDaylightCalc ZoneDehumidifierData ZoneEqSizingData ZoneEquipData ZoneEvapCoolerUnitStruct ZoneGroupData ZoneHumidityControls ZoneInternalGainsStruct ZoneListData ZoneListData ZonePreDefRepType ZonePurchasedAir ZoneReportVars ZoneReturnPlenumConditions ZoneSatgedControls ZoneSimData ZoneSizingData ZoneSizingInputData ZoneSupplyPlenumConditions ZoneSystemContaminantDemandData ZoneSystemDemandData ZoneSystemMoistureDemand ZoneTempControls ZoneTempControlType ZoneViewFactorInformation