Skip to content
Snippets Groups Projects
Commit 4f347e44 authored by MALLEGOL Antoine's avatar MALLEGOL Antoine
Browse files

Describe time series parameters

parent 61f71ed5
No related branches found
No related tags found
No related merge requests found
import argparse
import matplotlib.pyplot as plt
from statistics import mean
import src.parameters as p
from src.utils import set_language, translate as _
......@@ -32,6 +33,12 @@ L_h = [p.L_h[t] for t in dt]
T = [p.T[t] for t in dt]
G = [p.G[t] for t in dt]
print(f'Period {args.start}+{args.duration}')
print(f' L_e: min {min(L_e):.0f}, max {max(L_e):.0f}, mean {mean(L_e):.0f}')
print(f' L_h: min {min(L_h):.0f}, max {max(L_h):.0f}, mean {mean(L_h):.0f}')
print(f' T: min {min(T):.1f}, max {max(T):.1f}, mean {mean(T):.1f}')
print(f' G: min {min(G)*1000:.0f}, max {max(G)*1000:.0f}, mean {mean(G)*1000:.0f}')
i = 0
if 'demand' in args.plot:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment