Demonstrateur

[1]:
import json

import numpy as np
import matplotlib
from matplotlib import pyplot as plt
import seaborn as sns
from IPython.display import HTML

from oze.utils.env_setup import load_config
from oze.inputs import load_building
from oze.buildings.capt import CAPT
from oze.visualization import HistAnimation
[2]:
%matplotlib notebook
# matplotlib.rcParams['animation.embed_limit'] = 100

# Switch to sns visualization and deactivate automatic plotting
sns.set()
plt.ioff()

Indoor temperature

[3]:
animation = HistAnimation.load('animations/t_int.anim')
HTML(animation.run_animation(max_frames=10).to_jshtml())
[3]:

Private consumptions

[4]:
animation = HistAnimation.load('animations/private.anim')
HTML(animation.run_animation(max_frames=10).to_jshtml())
[4]: