Esempio n. 1
0
    def test_find_days(self):
        '''The test uses one month simulation data as obtained from
        the bestest_air case.

        '''

        days = find_days(heat='fcu.powHeaThe.y',
                         cool='fcu.powCooThe.y',
                         data=self.sim_data)

        self.compare_ref_json(days, self.days_ref)
Esempio n. 2
0
'''
Finds the peak and typical heat days for the multizone_residential_hydronic.
This case needs to be deployed if using BOPTEST image.

'''

from data.find_days import find_days
import json

days = find_days(heat='sum_Q_flow',
                 cool=None,
                 data='TestCase.csv',
                 img_name=None)

with open('days.json', 'w') as f:
    json.dump(days, f)
Esempio n. 3
0
'''
Created on Feb 5, 2021

@author: Javier Arroyo

Finds the peak and typical heat days for the bestest_hydronic_heatpump
case. This case needs to be deployed.

'''

from data.find_days import find_days
import json

days = find_days(heat='reaQHeaPumCon.y', cool=None,
                 data='simulate', img_name='boptest_bestest_hydronic_heat_pump')

with open('days.json', 'w') as f:
    json.dump(days, f)
Esempio n. 4
0
'''
Created on Feb 5, 2021

@author: Javier Arroyo

Finds the peak and typical heat days for the bestest_hydronic
case. This case needs to be deployed.

'''

from data.find_days import find_days
import json

days = find_days(heat='reaQHea.y',
                 cool=None,
                 data='simulate',
                 img_name='boptest_bestest_hydronic')

with open('days.json', 'w') as f:
    json.dump(days, f)
Esempio n. 5
0
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Thu Jan  7 13:20:58 2021

@author: dhbubu18
"""

from data.find_days import find_days
import json

days = find_days(heat='fcu.powHeaThe.y', cool='fcu.powCooThe.y',
                 data='simulation.csv', img_name='boptest_bestest_air')

with open('days.json', 'w') as f:
    json.dump(days, f)
Esempio n. 6
0
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Thu Jan  7 13:20:58 2021

@author: dhbubu18
"""

from data.find_days import find_days
import json

days = find_days(heat='districtHeating.qdh',
                 cool=None,
                 data='heating_demand.csv',
                 img_name='jm')

with open('days.json', 'w') as f:
    json.dump(days, f)