Rename the delivered Energy script daily.py to final.py
src/energy/final.py is daily.py unchanged; the comparison script, the day focus and the client mockup now import energy.final. References in the README, the analysis rule, the nouvelle-analyse skill, the two delivered analysis sheets and the guide follow. Output files keep their names (out/<STATION>_daily.html and .json). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
df9ab5cdae
commit
7f911e41a3
11 files changed
+14
-14
No files matched your search
@@ -11,7 +11,7 @@ from common.page import AUTOSCALE_Y_JS, ROOT, open_html # noqa: E402 (bascule
|
||||
from common.stations import gaps, load_stations # noqa: E402
|
||||
from plotly.subplots import make_subplots # noqa: E402
|
||||
from energy import battery_state as bs, battery_trend as bt, moving_average as ma # noqa: E402
|
||||
from energy.daily import daily_state_panel, daily_trend_panel # noqa: E402
|
||||
from energy.final import daily_state_panel, daily_trend_panel # noqa: E402
|
||||
|
||||
# Zones de BusVoltage selon l'état de la batterie (bandes de fond) : docs/energy/domaine/tensions-selon-l-etat-de-la-batterie.md.
|
||||
# [V] = VERMONT, 5e-95e centiles horaires ; [M] = manuel ; [E] = experts. Les zones « en charge » et « décharge »
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"""Analyses livrées (D-020) : DAILY_BATTERY_STATE et DAILY_BATTERY_TREND, en une figure pour le site (D-021).
|
||||
|
||||
Usage : python3 src/energy/daily.py [CSV ou dossiers...] (défaut : data/)
|
||||
Usage : python3 src/energy/final.py [CSV ou dossiers...] (défaut : data/)
|
||||
Écrit out/<STATION>_daily.html (page de démo) et .json (figure Plotly pour le site, Plotly.newPlot), puis les ouvre.
|
||||
Documentation : docs/energy/analyses/daily_battery_state.md et daily_battery_trend.md
|
||||
"""
|
||||
@@ -13,7 +13,7 @@ from common.page import ROOT, open_html # noqa: E402 (bascule seule sur .venv
|
||||
from common.stations import gaps, load_stations # noqa: E402
|
||||
import plotly.graph_objects as go # noqa: E402
|
||||
from energy import battery_state as bs, battery_trend as bt, day_color as dc # noqa: E402
|
||||
from energy.daily import STATE_STYLE, TREND_STYLE, noon # noqa: E402
|
||||
from energy.final import STATE_STYLE, TREND_STYLE, noon # noqa: E402
|
||||
|
||||
# Statuts : noms et couleurs de la maquette System Summary (maquettes/user/energy_template.html).
|
||||
COLOR = {"GREEN": ("Green", "#008300"), "ORANGE": ("Orange", "#eda100"), "RED": ("Red", "#d03b3b"),
|
||||
|
||||
Reference in new issue
Block a user