<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mintoc.de/index.php?action=history&amp;feed=atom&amp;title=Supermarket_refrigeration_system_%28Muscod%29</id>
	<title>Supermarket refrigeration system (Muscod) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mintoc.de/index.php?action=history&amp;feed=atom&amp;title=Supermarket_refrigeration_system_%28Muscod%29"/>
	<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Supermarket_refrigeration_system_(Muscod)&amp;action=history"/>
	<updated>2026-06-09T09:26:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://mintoc.de/index.php?title=Supermarket_refrigeration_system_(Muscod)&amp;diff=1565&amp;oldid=prev</id>
		<title>SebastianSager: SebastianSager moved page Supermarket refrigeration system (C) to Supermarket refrigeration system (Muscod) without leaving a redirect: Moved C to Muscod</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Supermarket_refrigeration_system_(Muscod)&amp;diff=1565&amp;oldid=prev"/>
		<updated>2016-01-28T09:24:03Z</updated>

		<summary type="html">&lt;p&gt;SebastianSager moved page &lt;a href=&quot;/index.php?title=Supermarket_refrigeration_system_(C)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Supermarket refrigeration system (C) (page does not exist)&quot;&gt;Supermarket refrigeration system (C)&lt;/a&gt; to &lt;a href=&quot;/index.php?title=Supermarket_refrigeration_system_(Muscod)&quot; title=&quot;Supermarket refrigeration system (Muscod)&quot;&gt;Supermarket refrigeration system (Muscod)&lt;/a&gt; without leaving a redirect: Moved C to Muscod&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:24, 28 January 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>SebastianSager</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Supermarket_refrigeration_system_(Muscod)&amp;diff=1564&amp;oldid=prev</id>
		<title>SebastianSager: Moved C to Muscod</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Supermarket_refrigeration_system_(Muscod)&amp;diff=1564&amp;oldid=prev"/>
		<updated>2016-01-28T09:23:53Z</updated>

		<summary type="html">&lt;p&gt;Moved C to Muscod&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:23, 28 January 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The differential equations for the [[Supermarket refrigeration system]] in [[:Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;C &lt;/del&gt;| &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;C &lt;/del&gt;code]] read as follows&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The differential equations for the [[Supermarket refrigeration system]] in [[:Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Muscod &lt;/ins&gt;| &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Muscod &lt;/ins&gt;code]] read as follows&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l83&quot;&gt;Line 83:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 83:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;C&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Muscod&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>SebastianSager</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Supermarket_refrigeration_system_(Muscod)&amp;diff=528&amp;oldid=prev</id>
		<title>SebastianSager: Initial setup</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Supermarket_refrigeration_system_(Muscod)&amp;diff=528&amp;oldid=prev"/>
		<updated>2009-08-11T16:07:59Z</updated>

		<summary type="html">&lt;p&gt;Initial setup&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The differential equations for the [[Supermarket refrigeration system]] in [[:Category:C | C code]] read as follows&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
// number of compressors&lt;br /&gt;
#define NVALVES 2&lt;br /&gt;
&lt;br /&gt;
// constants&lt;br /&gt;
#define M_GOODS 200.0&lt;br /&gt;
#define C_P_GOODS 1000.0&lt;br /&gt;
#define UA_GOODS_AIR 300.0&lt;br /&gt;
#define M_WALL 260.0&lt;br /&gt;
#define C_P_WALL 385.0&lt;br /&gt;
#define UA_AIR_WALL 500.0&lt;br /&gt;
#define M_AIR 50.0&lt;br /&gt;
#define C_P_AIR 1000.0&lt;br /&gt;
#define UA_WALL_REF_MAX 4000.0&lt;br /&gt;
#define M_REF_MAX 1.0&lt;br /&gt;
#define TAU_FILL 40.0&lt;br /&gt;
#define T_SH 10.0&lt;br /&gt;
#define V_SUC 5.0&lt;br /&gt;
#define V_SL 0.08 // 2 display cases - 2 compressors&lt;br /&gt;
// #define V_SL 0.095 // 3 display cases - 3 compressors&lt;br /&gt;
#define ETA_VOL 0.81&lt;br /&gt;
&lt;br /&gt;
// disturbances - day scenario&lt;br /&gt;
#define Q_AIRLOAD 3000.0&lt;br /&gt;
#define M_REF_CONST 0.2&lt;br /&gt;
&lt;br /&gt;
// disturbances - night scenario&lt;br /&gt;
// #define Q_AIRLOAD 1800.0&lt;br /&gt;
// #define M_REF_CONST 0.0&lt;br /&gt;
&lt;br /&gt;
double delta_h = (0.0217*xd[0]*xd[0] - 0.1704*xd[0] + 2.2988)*1e5;&lt;br /&gt;
double T_e = -4.3544*xd[0]*xd[0] + 29.224*xd[0] - 51.2005;&lt;br /&gt;
double rho_suc = 4.6073*xd[0] + 0.3798;&lt;br /&gt;
double rho_suc__P_suc = -0.0329*xd[0]*xd[0]*xd[0] + 0.2161*xd[0]*xd[0] - 0.4742*xd[0] + 5.4817;&lt;br /&gt;
double f = (0.0265*xd[0]*xd[0]*xd[0] -0.4346*xd[0]*xd[0] + 2.4923*xd[0] + 1.2189)*1e5;&lt;br /&gt;
&lt;br /&gt;
double Q_goods_air[NVALVES];&lt;br /&gt;
double Q_air_wall[NVALVES];&lt;br /&gt;
double UA_wall_ref[NVALVES];&lt;br /&gt;
double Q_e[NVALVES];&lt;br /&gt;
double m[NVALVES];&lt;br /&gt;
&lt;br /&gt;
double m_in_suc = 0.0;&lt;br /&gt;
&lt;br /&gt;
int i;&lt;br /&gt;
&lt;br /&gt;
for (i=0; i&amp;lt;NVALVES; i++){&lt;br /&gt;
    Q_goods_air[i] = UA_GOODS_AIR*(xd[1 + i*4] - xd[3 + i*4]);&lt;br /&gt;
    Q_air_wall[i] = UA_AIR_WALL*(xd[3 + i*4] - xd[2 + i*4]);&lt;br /&gt;
    UA_wall_ref[i] = UA_WALL_REF_MAX * xd[4 + 4*i]/M_REF_MAX;&lt;br /&gt;
    Q_e[i] = UA_wall_ref[i]*(xd[2 + 4*i] - T_e);&lt;br /&gt;
&lt;br /&gt;
    m[i] = Q_e[i]/delta_h;&lt;br /&gt;
    m_in_suc += m[i];&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
double V_comp = 0.0;&lt;br /&gt;
double comp_scale = (double) 1.0/NCOMPS;&lt;br /&gt;
V_comp = comp_scale*u[NVALVES]*ETA_VOL*V_SL;&lt;br /&gt;
&lt;br /&gt;
// suction pressure&lt;br /&gt;
rhs[0] = (m_in_suc + M_REF_CONST - V_comp*rho_suc) / (V_SUC*rho_suc__P_suc);&lt;br /&gt;
&lt;br /&gt;
// for each display/valve&lt;br /&gt;
for (i=0; i&amp;lt;NVALVES; i++){&lt;br /&gt;
&lt;br /&gt;
    // temperatures:&lt;br /&gt;
&lt;br /&gt;
    // goods&lt;br /&gt;
    rhs[1 + i*4] = - Q_goods_air[i]/(M_GOODS*C_P_GOODS);&lt;br /&gt;
&lt;br /&gt;
    // wall&lt;br /&gt;
    rhs[2 + i*4] = (Q_air_wall[i] - Q_e[i])/(M_WALL*C_P_WALL);&lt;br /&gt;
&lt;br /&gt;
    // air&lt;br /&gt;
    rhs[3 + i*4] = ((Q_goods_air[i] + Q_AIRLOAD - Q_air_wall[i]) /(M_AIR*C_P_AIR));&lt;br /&gt;
&lt;br /&gt;
    // mass of liquefied refrigerant:&lt;br /&gt;
    rhs[4 + i*4] = ((M_REF_MAX - xd[4 + 4*i])/TAU_FILL * u[i] - m[i] * (1 - u[i]));&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:C]]&lt;/div&gt;</summary>
		<author><name>SebastianSager</name></author>
	</entry>
</feed>