Author: T.Pasquier

?

150 W

1000 W

2500 W

20 W

1,455 kWh

120 W

?

15 W

6,25 kWh

2,5 kW

?

20 W

0,6 kWh

?

ampoule

lave linge

micro onde

compteur

état

puissance 

durée 

appareil

tv

ampoule

lave linge

micro onde

tv

4 h

8 h

?

5 h

1 h

4 h

5 h

1 h

1 h

5 h

etats

puissances

durées

déplacez le curseur
ci-dessous pour
changer de situation

puissance et consommation d'énergie électrique

Compteur

énergie ( kWh )

P_5: {K1, K2, K3, K4, K5}
P_4: {J1, J2, J3, J4, J5}
P_3: {I1, I2, I3, I4, I5}
P_2: {H1, H2, H3, H4, H5}
P_1: {G1, G2, G3, G4, G5}
A13: {P_1, P_2, P_3, P_4, P_5}
a = 1 (slider from 1 to 5, step 1)
B1 = false
B2 = false
B3 = false
B4 = true
C1 = true
C2 = false
C3 = false
C4 = false
D1 = false
D2 = true
D3 = false
D4 = false
E1 = true
E2 = false
E3 = true
E4 = true
F1 = true
F2 = true
F3 = true
F4 = true
L7 = 0
B7 = 1
C7 = 2
D7: 2.0 * C7 - B7
E7: 2.0 * D7 - C7
F7: 2.0 * E7 - D7
A = (0.2, 4.0600000000000005)
B = (13.58, 4.08)
b = Segment(A, B)
C = (13.540000000000001, -1.12)
c = Segment(B, C)
D = (0.2, -1.1)
d = Segment(C, D)
e = Segment(D, A)
E = Point(e)
F = Point(c)
f = Segment(E, F)
G = Point(e)
H = Point(c)
g = Segment(G, H)
I = Point(b)
J = Point(d)
h = Segment(I, J)
K = Point(b)
L = Point(d)
i = Segment(K, L)
M = Point(b)
N = Point(d)
j = Segment(M, N)
O = Point(b)
P = Point(d)
k = Segment(O, P)
Q = Point(e)
R = Point(c)
l = Segment(Q, R)
G7 = 1
H7 = 2
I7: 2.0 * H7 - G7
J7: 2.0 * I7 - H7
K7: 2.0 * J7 - I7
L_1: {B1, B2, B3, B4}
L_2: {C1, C2, C3, C4}
L_3: {D1, D2, D3, D4}
L_4: {E1, E2, E3, E4}
L_5: {F1, F2, F3, F4}
t_1: {G9, G10, G11, G12}
t_2: {H9, H10, H11, H12}
t_3: {I9, I10, I11, I12}
t_4: {J9, J10, J11, J12}
t_5: {K9, K10, K11, K12}
A10: {L_1, L_2, L_3, L_4, L_5}
listeEtats: {A10}
listePuissances: {A13}
A16: {t_1, t_2, t_3, t_4, t_5}
listeDurees: {A16}
ampoule = Element(Element[A10, a], 1.0)
laveLinge = Element(Element[A10, a], 2.0)
microOnde = Element(Element[A10, a], 3.0)
televiseur = Element(Element[A10, a], 4.0)
texte1 = If(ampoule, "allumée", "éteinte")
texte2 = If(laveLinge, "allumé", "éteint")
texte3 = If(microOnde, "allumé", "éteint")
texte4 = If(televiseur, "allumé", "éteint")
P_L = Element(Element[A13, a], 1.0)
P_LL = Element(Element[A13, a], 2.0)
P_MO = Element(Element[A13, a], 3.0)
P_TV = Element(Element[A13, a], 4.0)
t_L = Element(Element[A16, a], 1.0)
t_LL = Element(Element[A16, a], 2.0)
t_MO = Element(Element[A16, a], 3.0)
t_TV = Element(Element[A16, a], 4.0)
compteurt = Element(Element[A13, a], 5.0)
texte9: "situation  " + a
S = (-2.92, 4.74)
T = (13.88, 4.74)
U = (-3, 5)
V = (-3, -5)
W = (14, -5)
Z = (14, 5)
m = Segment(U, V)
n = Segment(V, W)
p = Segment(W, Z)
q = Segment(Z, U)