IndEcol / RECC-ODYM

The RECC model
MIT License
21 stars 10 forks source link

Inflow electricity generation needs smoothing (1_F_RECC_FinalProducts_industry_V1.0) #26

Closed stefanpauliuk closed 1 year ago

stefanpauliuk commented 4 years ago

e.g. using spline interpolation of time series Y over time vector Time:

from   scipy.interpolate import interp1d, make_interp_spline, pchip, UnivariateSpline

fa = interp1d(Time, Y, kind='linear')
fb = interp1d(Time, Y, kind='cubic')
fc= make_interp_spline(Time, Y, bc_type=([(2, 0)], [(1, 0)]))
fd = pchip(Time, Y)
fe = UnivariateSpline(Time, Y)
stefanpauliuk commented 1 year ago

Obsolete because of shift to new dataset/datasource.