Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples

Collection of models that illustrate model use and test models

Information

Extends from Buildings.BaseClasses.BaseIconExamples (Icon for Examples packages).

Package Content

NameDescription
Declination Test model for declination
Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle IncidenceAngle Test model for incidence angle
Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth SolarAzimuth Test model for zenith angle
Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle SolarHourAngle Test model for solar hour angle
Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle ZenithAngle Test model for zenith angle


Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination

Test model for declination

Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination

Modelica definition

model Declination "Test model for declination"
  import Buildings;
  Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Declination decAng 
    "Declination angle";
  Buildings.Utilities.SimulationTime simTim;
equation 
  connect(simTim.y, decAng.nDay);
end Declination;

Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle

Test model for incidence angle

Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle

Connectors

TypeNameDescription
BusweaBus 

Modelica definition

model IncidenceAngle "Test model for incidence angle"
  import Buildings;
  Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Declination decAng 
    "Declination angle";
  Buildings.BoundaryConditions.SolarGeometry.BaseClasses.SolarHourAngle
    solHouAng;
  Buildings.BoundaryConditions.SolarGeometry.BaseClasses.IncidenceAngle incAng(
    lat=0,
    azi=0,
    til=90);
  Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(
    filNam="Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos");
  Buildings.BoundaryConditions.WeatherData.Bus weaBus;
equation 
  connect(decAng.decAng, incAng.decAng);
  connect(solHouAng.solHouAng, incAng.solHouAng);
  connect(weaDat.weaBus, weaBus);
  connect(weaBus.cloTim, decAng.nDay);
  connect(weaBus.solTim, solHouAng.solTim);
end IncidenceAngle;

Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth

Test model for zenith angle

Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth

Parameters

TypeNameDefaultDescription
Anglelat0.2Latitude [rad]

Connectors

TypeNameDescription
BusweaBus 

Modelica definition

model SolarAzimuth "Test model for zenith angle"
  parameter Modelica.SIunits.Angle lat= 0.2 "Latitude";
  Buildings.BoundaryConditions.SolarGeometry.BaseClasses.SolarHourAngle
    solHouAng "Solar hour angle";
  Buildings.BoundaryConditions.SolarGeometry.BaseClasses.ZenithAngle zen(lat=lat);
  Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Declination decAng 
    "Declination angle";
  Buildings.BoundaryConditions.SolarGeometry.BaseClasses.SolarAzimuth solAzi(lat=lat);
  WeatherData.ReaderTMY3 weaDat(
    filNam="Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos");
  WeatherData.Bus weaBus;
equation 
  connect(zen.zen, solAzi.zen);
  connect(solHouAng.solHouAng, zen.solHouAng);
  connect(decAng.decAng, solAzi.decAng);
  connect(decAng.decAng, zen.decAng);
  connect(weaDat.weaBus, weaBus);
  connect(weaBus.cloTim, decAng.nDay);
  connect(weaBus.solTim, solHouAng.solTim);
  connect(weaBus.solTim, solAzi.solTim);
end SolarAzimuth;

Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle

Test model for solar hour angle

Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle

Connectors

TypeNameDescription
BusweaBus 

Modelica definition

model SolarHourAngle "Test model for solar hour angle"

  Buildings.BoundaryConditions.SolarGeometry.BaseClasses.SolarHourAngle
    solHouAng "Solar hour Angle";
  WeatherData.ReaderTMY3 weaDat(
    filNam="Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos");
  WeatherData.Bus weaBus;
equation 
  connect(weaDat.weaBus, weaBus);
  connect(weaBus.solTim, solHouAng.solTim);
end SolarHourAngle;

Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle

Test model for zenith angle

Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle

Connectors

TypeNameDescription
BusweaBus 

Modelica definition

model ZenithAngle "Test model for zenith angle"
  import Buildings;
  Buildings.BoundaryConditions.SolarGeometry.BaseClasses.ZenithAngle zen(lat=0);
  Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Declination decAng 
    "Declination angle";
  Buildings.BoundaryConditions.SolarGeometry.BaseClasses.SolarHourAngle
    solHouAng;
  Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(
    filNam="Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos");
  Buildings.BoundaryConditions.WeatherData.Bus weaBus;
equation 
  connect(decAng.decAng, zen.decAng);
  connect(solHouAng.solHouAng, zen.solHouAng);
  connect(weaDat.weaBus, weaBus);
  connect(weaBus.cloTim, decAng.nDay);
  connect(weaBus.solTim, solHouAng.solTim);
end ZenithAngle;

HTML-documentation generated by Dymola Thu Mar 17 10:14:42 2011.