systems_caltalog_xml #26
@ -41,44 +41,44 @@
|
|||||||
<equipment id="1" type="Water distribution heating">
|
<equipment id="1" type="Water distribution heating">
|
||||||
<name>Water distribution heating</name>
|
<name>Water distribution heating</name>
|
||||||
<distribution_heat_losses units="%">10</distribution_heat_losses>
|
<distribution_heat_losses units="%">10</distribution_heat_losses>
|
||||||
<distribution_consumption_fix_flow units="%">4</distribution_consumption_fix_flow>
|
<distribution_consumption_fix_flow units="%">2</distribution_consumption_fix_flow>
|
||||||
<distribution_consumption_variable_flow units="%">1</distribution_consumption_variable_flow>
|
<distribution_consumption_variable_flow units="%">0</distribution_consumption_variable_flow>
|
||||||
</equipment>
|
</equipment>
|
||||||
<equipment id="2" type="Water distribution cooling">
|
<equipment id="2" type="Water distribution cooling">
|
||||||
<name>Water distribution cooling</name>
|
<name>Water distribution cooling</name>
|
||||||
<distribution_heat_losses units="%">10</distribution_heat_losses>
|
<distribution_heat_losses units="%">5</distribution_heat_losses>
|
||||||
<distribution_consumption_fix_flow units="%">4</distribution_consumption_fix_flow>
|
<distribution_consumption_fix_flow units="%">4</distribution_consumption_fix_flow>
|
||||||
<distribution_consumption_variable_flow units="%">1</distribution_consumption_variable_flow>
|
<distribution_consumption_variable_flow units="%">0</distribution_consumption_variable_flow>
|
||||||
</equipment>
|
</equipment>
|
||||||
<equipment id="3" type="Central air distribution heating">
|
<equipment id="3" type="Central air distribution heating">
|
||||||
<name>Central air distribution heating</name>
|
<name>Central air distribution heating</name>
|
||||||
<distribution_heat_losses units="%">10</distribution_heat_losses>
|
<distribution_heat_losses units="%">10</distribution_heat_losses>
|
||||||
<distribution_consumption_fix_flow units="%">13</distribution_consumption_fix_flow>
|
<distribution_consumption_fix_flow units="%">0</distribution_consumption_fix_flow>
|
||||||
<distribution_consumption_variable_flow units="%">13</distribution_consumption_variable_flow>
|
<distribution_consumption_variable_flow units="%">13</distribution_consumption_variable_flow>
|
||||||
</equipment>
|
</equipment>
|
||||||
<equipment id="4" type="Central air distribution cooling">
|
<equipment id="4" type="Central air distribution cooling">
|
||||||
<name>Central air distribution cooling</name>
|
<name>Central air distribution cooling</name>
|
||||||
<distribution_heat_losses units="%">10</distribution_heat_losses>
|
<distribution_heat_losses units="%">5</distribution_heat_losses>
|
||||||
<distribution_consumption_fix_flow units="%">13</distribution_consumption_fix_flow>
|
<distribution_consumption_fix_flow units="%">0</distribution_consumption_fix_flow>
|
||||||
<distribution_consumption_variable_flow units="%">13</distribution_consumption_variable_flow>
|
<distribution_consumption_variable_flow units="%">13</distribution_consumption_variable_flow>
|
||||||
</equipment>
|
</equipment>
|
||||||
<equipment id="5" type="Local air distribution heating">
|
<equipment id="5" type="Local air distribution heating">
|
||||||
<name>Local air distribution heating</name>
|
<name>Local air distribution heating</name>
|
||||||
<distribution_heat_losses units="%">10</distribution_heat_losses>
|
<distribution_heat_losses units="%">5</distribution_heat_losses>
|
||||||
<distribution_consumption_fix_flow units="%">8</distribution_consumption_fix_flow>
|
<distribution_consumption_fix_flow units="%">8</distribution_consumption_fix_flow>
|
||||||
<distribution_consumption_variable_flow units="%">8</distribution_consumption_variable_flow>
|
<distribution_consumption_variable_flow units="%">0</distribution_consumption_variable_flow>
|
||||||
</equipment>
|
</equipment>
|
||||||
<equipment id="6" type="Local air distribution cooling">
|
<equipment id="6" type="Local air distribution cooling">
|
||||||
<name>Local air distribution cooling</name>
|
<name>Local air distribution cooling</name>
|
||||||
<distribution_heat_losses units="%">10</distribution_heat_losses>
|
<distribution_heat_losses units="%">2</distribution_heat_losses>
|
||||||
<distribution_consumption_fix_flow units="%">8</distribution_consumption_fix_flow>
|
<distribution_consumption_fix_flow units="%">8</distribution_consumption_fix_flow>
|
||||||
<distribution_consumption_variable_flow units="%">8</distribution_consumption_variable_flow>
|
<distribution_consumption_variable_flow units="%">0</distribution_consumption_variable_flow>
|
||||||
</equipment>
|
</equipment>
|
||||||
<equipment id="7" type="Refrigerant distribution">
|
<equipment id="7" type="Refrigerant distribution">
|
||||||
<name>Refrigerant distribution</name>
|
<name>Refrigerant distribution</name>
|
||||||
<distribution_heat_losses units="%">1</distribution_heat_losses>
|
<distribution_heat_losses units="%">1</distribution_heat_losses>
|
||||||
<distribution_consumption_fix_flow units="%">1</distribution_consumption_fix_flow>
|
<distribution_consumption_fix_flow units="%">1</distribution_consumption_fix_flow>
|
||||||
<distribution_consumption_variable_flow units="%">2</distribution_consumption_variable_flow>
|
<distribution_consumption_variable_flow units="%">0</distribution_consumption_variable_flow>
|
||||||
</equipment>
|
</equipment>
|
||||||
<equipment id="8" type="No distribution">
|
<equipment id="8" type="No distribution">
|
||||||
<name>No distribution</name>
|
<name>No distribution</name>
|
||||||
@ -94,7 +94,7 @@
|
|||||||
</equipment>
|
</equipment>
|
||||||
<equipment id="2" type="fan-coils">
|
<equipment id="2" type="fan-coils">
|
||||||
<name>fan-coils</name>
|
<name>fan-coils</name>
|
||||||
<parasitic_consumption units="%">2</parasitic_consumption>
|
<parasitic_consumption units="%">1</parasitic_consumption>
|
||||||
</equipment>
|
</equipment>
|
||||||
<equipment id="3" type="inductors">
|
<equipment id="3" type="inductors">
|
||||||
<name>inductors</name>
|
<name>inductors</name>
|
||||||
@ -122,7 +122,7 @@
|
|||||||
</demands>
|
</demands>
|
||||||
<equipments>
|
<equipments>
|
||||||
<generation_id>2</generation_id>
|
<generation_id>2</generation_id>
|
||||||
<distribution_id>1</distribution_id>
|
<distribution_id>8</distribution_id>
|
||||||
<dissipation_id>1</dissipation_id>
|
<dissipation_id>1</dissipation_id>
|
||||||
</equipments>
|
</equipments>
|
||||||
</system>
|
</system>
|
||||||
@ -194,7 +194,7 @@
|
|||||||
</demands>
|
</demands>
|
||||||
<equipments>
|
<equipments>
|
||||||
<generation_id>2</generation_id>
|
<generation_id>2</generation_id>
|
||||||
<distribution_id>5</distribution_id>
|
<distribution_id>8</distribution_id>
|
||||||
<dissipation_id>3</dissipation_id>
|
<dissipation_id>3</dissipation_id>
|
||||||
</equipments>
|
</equipments>
|
||||||
</system>
|
</system>
|
||||||
@ -218,7 +218,7 @@
|
|||||||
</demands>
|
</demands>
|
||||||
<equipments>
|
<equipments>
|
||||||
<generation_id>2</generation_id>
|
<generation_id>2</generation_id>
|
||||||
<distribution_id>1</distribution_id>
|
<distribution_id>8</distribution_id>
|
||||||
<dissipation_id>3</dissipation_id>
|
<dissipation_id>3</dissipation_id>
|
||||||
</equipments>
|
</equipments>
|
||||||
</system>
|
</system>
|
||||||
@ -296,7 +296,7 @@
|
|||||||
</demands>
|
</demands>
|
||||||
<equipments>
|
<equipments>
|
||||||
<generation_id>7</generation_id>
|
<generation_id>7</generation_id>
|
||||||
<distribution_id>1</distribution_id>
|
<distribution_id>3</distribution_id>
|
||||||
<dissipation_id>2</dissipation_id>
|
<dissipation_id>2</dissipation_id>
|
||||||
</equipments>
|
</equipments>
|
||||||
</system>
|
</system>
|
||||||
@ -307,7 +307,7 @@
|
|||||||
</demands>
|
</demands>
|
||||||
<equipments>
|
<equipments>
|
||||||
<generation_id>7</generation_id>
|
<generation_id>7</generation_id>
|
||||||
<distribution_id>2</distribution_id>
|
<distribution_id>4</distribution_id>
|
||||||
<dissipation_id>2</dissipation_id>
|
<dissipation_id>2</dissipation_id>
|
||||||
</equipments>
|
</equipments>
|
||||||
</system>
|
</system>
|
||||||
@ -435,5 +435,27 @@
|
|||||||
<system_id>15</system_id>
|
<system_id>15</system_id>
|
||||||
</systems>
|
</systems>
|
||||||
</system_cluster>
|
</system_cluster>
|
||||||
|
<system_cluster name="system 8 gas">
|
||||||
|
<systems>
|
||||||
|
<system_id>1</system_id>
|
||||||
|
</systems>
|
||||||
|
</system_cluster>
|
||||||
|
<system_cluster name="system 8 gas pv">
|
||||||
|
<systems>
|
||||||
|
<system_id>1</system_id>
|
||||||
|
<system_id>15</system_id>
|
||||||
|
</systems>
|
||||||
|
</system_cluster>
|
||||||
|
<system_cluster name="system 8 electricity">
|
||||||
|
<systems>
|
||||||
|
<system_id>16</system_id>
|
||||||
|
</systems>
|
||||||
|
</system_cluster>
|
||||||
|
<system_cluster name="system 8 electricity pv">
|
||||||
|
<systems>
|
||||||
|
<system_id>16</system_id>
|
||||||
|
<system_id>15</system_id>
|
||||||
|
</systems>
|
||||||
|
</system_cluster>
|
||||||
</system_clusters>
|
</system_clusters>
|
||||||
</catalog>
|
</catalog>
|
||||||
|
@ -15,7 +15,7 @@ class TestSystemsCatalog(TestCase):
|
|||||||
catalog = EnergySystemsCatalogFactory('montreal_custom').catalog
|
catalog = EnergySystemsCatalogFactory('montreal_custom').catalog
|
||||||
catalog_categories = catalog.names()
|
catalog_categories = catalog.names()
|
||||||
archetypes = catalog.names('archetypes')
|
archetypes = catalog.names('archetypes')
|
||||||
self.assertEqual(19, len(archetypes['archetypes']))
|
self.assertEqual(23, len(archetypes['archetypes']))
|
||||||
systems = catalog.names('systems')
|
systems = catalog.names('systems')
|
||||||
self.assertEqual(18, len(systems['systems']))
|
self.assertEqual(18, len(systems['systems']))
|
||||||
generation_equipments = catalog.names('generation_equipments')
|
generation_equipments = catalog.names('generation_equipments')
|
||||||
|
Loading…
Reference in New Issue
Block a user