Using Wolfram Alpha online you can find the isochoric molar heat capacity of carbon dioxide with
https://www.wolframalpha.com/input?i=isochoric+heat+capacity+of+carbon+dioxide
If you have Mathematica installed with a matching version to your System Modeler, you can make a copy of the electric kettle model and change in it the parameter value associated to the heat capacity with
SystemModel["IndustryExamples.ConsumerProducts.ElectricKettle.
ElectricKettleControl", <|"ModelName" -> "KettleWithCO2",
"ParameterValues" -> {"Water.C" -> heatCapacityCO2}|>]
Here we can estimate heatCapacityCO2
with the help of Wolfram Alpha, which in Mathematica can be called with WoframAlpha
. The kettle becomes a bit unrealistic when using carbon dioxide but let's say that we just take the volume of water and replace it with CO2. Since the model uses 1.7 Kg of water, we would have then
massH20 = Quantity[1.7, "Kilograms"];
densityCO2 =
WolframAlpha[
"density of carbon dioxide", {{"Result", 1}, "QuantityData"}];
densityH2O =
WolframAlpha["density of water", {{"Result", 1}, "QuantityData"}];
massCO2 = massH20*densityCO2/densityH2O;
Now let's get an estimate of the specific heat capacity of the carbon dioxide at constant volume. For simplicity, let's assume our kettle has gas-proof sealing and tolerates the pressures of heated CO2. In practice, the specific heat will change with the temperature, so this model can be made more accurate by swapping this parameter with a time-changing value. But for now, let's just use the isochoric molar heat capacity from Wolfram Alpha and the molar mass:
isochoricMolarHeatCO2 =
WolframAlpha[
"isochoric heat capacity of carbon dioxide", {{"Result", 1},
"QuantityData"}];
molarMassCO2 =
WolframAlpha[
"molar mass of carbon dioxide", {{"Result", 1}, "QuantityData"}];
specificHeatCapacityCO2 = isochoricMolarHeatCO2/molarMassCO2;
heatCapacityCO2 = QuantityMagnitude[massCO2 specificHeatCapacityCO2]
This finally gives us heatCapacityCO2 = 2.04892
. This is the value that we can then use in the SystemModel
call. Alternatively, you can just plug this value in the Water.C
parameter in System Modeler.