blockSolarPosition

Solar position in the sky

Information

This block computes the postion of the sun in the sky using spherical trigonometry.

Parameters

TypeNameDefaultDescription
RealpiModelica.Constants.pi
Reallon111Longitude
Reallat32Latitude
Reallsm105
RealsfaOrientation of surface
RealtiltTilt of surface
Reallatrpi*lat/180Latitude
Realsfarpi*sfa/180Orientation of surface
Realtiltrpi*tilt/180Tilt of surface

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputaltAltitude
Modelica.Blocks.Interfaces.RealOutputincInclination
Modelica.Blocks.Interfaces.RealInput[6]uConnector of Real input signals

Components

TypeNameDefaultDescription
RealhHeight
RealdecDeclination
Realinc1
Realinc2
Realinc3
RealTime
RealETime
Modelica.Blocks.Sources.ClockClock1