Convert from year to second
function from_year extends Modelica.SIunits.Icons.Conversion; input SolarTherm.Types.Time_year year "year value"; output Modelica.SIunits.Time s "second value"; end from_year;