block To_degC "Convert from Kelvin to degCelsius"
extends Modelica.Blocks.Interfaces.PartialConversionBlock(u(unit = "K"), y(unit = "degC"));
equation
y = SI.Conversions.to_degC(u);
annotation (
Icon(
coordinateSystem(
preserveAspectRatio = true,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Text(
extent = {
{-20, 100},
{-100, 20}},
textString = "K"),
Text(
extent = {
{100, -20},
{20, -100}},
textString = "degC")}),
Documentation(info = "<html>\n<p>\nThis block converts the input signal from Kelvin to degCelsius and returns\nthe result as output signal.\n</p>\n</html>"));
end To_degC;