Skip to content
Snippets Groups Projects
Commit 72c42127 authored by Christoph von Oy's avatar Christoph von Oy
Browse files

Clean-up of imports

parent a826be4c
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Created by jgn on 30.11.2020.
from .electrical_demand import *
from .thermal_demand import *
......@@ -25,11 +25,11 @@ THE SOFTWARE.
# Smoothing factors pkl for household demand calculated with formula from VDEW 1999
# Formula adjusted for accuracy by oemof: https://github.com/oemof/demandlib/blob/master/demandlib/bdew.py
import calendar
import datetime
import numpy as np
import pandas as pd
import os
import calendar
import pandas as pd
def add_weekdays2df(time_df, holidays=None, holiday_is_sunday=False):
......
#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Created by jgn on 30.11.2020.
from .ElectricalDemand import ElectricalDemand
......@@ -21,10 +21,11 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
"""
from math import ceil
import numpy as np
import pandas as pd
import os
import pandas as pd
# This is needed if we provide a default temperature pattern
'''
......
#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Created by jgn on 30.11.2020.
from .ThermalDemand import ThermalDemand
......@@ -24,7 +24,6 @@ THE SOFTWARE.
import numpy as np
import pandas as pd
from datetime import timedelta
def calc_total_irradiance(irradiance, timer, beta, psi_f, phi, lambda_st, lambda_1, alpha_albedo=0.2, reflection=1, refraction_index=2):
"""
......
......@@ -21,14 +21,15 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
"""
import pandas as pd
from datetime import datetime
from datetime import timedelta
from Tooling.demand_generator.electrical_demand.ElectricalDemand import ElectricalDemand
from Tooling.demand_generator.thermal_demand.ThermalDemand import ThermalDemand
from Tooling.input_profile_processor.calc_irradiance import generate_g_t_series
from Tooling.modifier import Modifier
from datetime import datetime, timedelta
import pandas as pd
def process_input_profiles(input_profile_dict, t_start, dynamic):
d_step_min = min(dynamic.step_size_p(position) for position in range(dynamic.number_of_steps()))
# This entire process assumes four things:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment