Skip to content

Commit 27fa0cf

Browse files
authored
Fix arguments in docstrings for HeatTransfer components (#154)
1 parent 894bdc4 commit 27fa0cf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Thermal/HeatTransfer/sources.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ This model defines a fixed temperature `T` at its port in kelvin, i.e., it defin
5656
end
5757

5858
"""
59-
PrescribedHeatFlow(; name, Q_flow=1.0, T_ref=293.15, alpha=0.0)
59+
PrescribedHeatFlow(; name, T_ref=293.15, alpha=0.0)
6060
6161
Prescribed heat flow boundary condition.
6262
@@ -69,7 +69,7 @@ dependent losses (which are given a reference temperature T_ref).
6969
# Connectors:
7070
7171
- `port`
72-
- `Q_flow` Input for the heat flow
72+
- `RealInput` `Q_flow` Input for the heat flow
7373
7474
# Parameters:
7575
@@ -91,18 +91,18 @@ dependent losses (which are given a reference temperature T_ref).
9191
end
9292

9393
"""
94-
PrescribedTemperature(; name, T)
94+
PrescribedTemperature(; name)
9595
9696
This model represents a variable temperature boundary condition.
9797
98-
The temperature in kelvin is given as input signal `T` to the model. The effect is that an instance of
98+
The temperature in kelvin is given as input signal to the `RealInput` `T`. The effect is that an instance of
9999
this model acts as an infinite reservoir, able to absorb or generate as much energy as required to keep
100100
the temperature at the specified value.
101101
102102
# Connectors:
103103
104104
- `port`
105-
- `T` input for the temperature
105+
- `RealInput` `T` input for the temperature
106106
"""
107107
@component function PrescribedTemperature(; name)
108108
@named port = HeatPort()

0 commit comments

Comments
 (0)