Si vous constatez la perte de tickets, de commentaires ou de projets, veuillez consulter la page https://status.framasoft.org/incident/626.

Commit c98b9fad authored by Christophe Benz's avatar Christophe Benz

Update transpiler and generated source

parent fcc1b04c
This diff is collapsed.
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-2.json" and "chap-2.m"
NAPINI = IRN + PIR - IRANT * 1 - INDTXMIN * 1 - INDTXMOY + min(0, IRN + PIR - IRANT) * INDTXMIN + INDTXMOY + max(0, IRN + PIR - IRANT) * INDTXMIN * positif(IAVIMBIS - NAPCRPAVIM - SEUIL_61) + INDTXMOY * positif(IAVIMO - NAPCRPAVIM - SEUIL_61) + RASAR * V_CR2
RC1INI = positif(NAPINI + 1 - SEUIL_12)
NAPTOT = IRCUM + TAXACUM + PCAPCUM + TAXLOYCUM + HAUTREVCUM - RECUMIR
NAPTOTA = V_IRPSANT - V_ANTRE
NAPTOTAIR = V_TOTIRANT - V_ANTREIR
TOTCRA = V_ANTCR
TOTIRPSANT = V_IRPSANT - V_NONMERANT + V_NONRESTANT - V_ANTRE
IRNIN = IRN - IRANT * positif(IRN - IRANT)
ISF4BASE = ISF4BIS * positif_ou_nul(ISF4BIS - SEUIL_12)
ISFIN = ISF4BASE
IRNIN_INR = max(0, IRN - IRANT - IR9YI) * positif(IRN - IRANT)
CSBASE_INR = max(0, CSG - CSGIM - CS9YP)
RDBASE_INR = max(0, RDSN - CRDSIM - RD9YP)
PSBASE_INR = max(0, PRS - PRSPROV - PS9YP)
CVNBASE_INR = max(0, CVNSALC - COD8YT - CVN9YP)
CDISBASE_INR = max(0, CDIS - CDISPROV - CDIS9YP)
GLOBASE_INR = max(0, CGLOA - COD8YL - GLO9YP)
REGVBASE_INR = max(0, BREGV - REGV9YP)
RSE1BASE_INR = max(0, RSE1N - CSPROVYD - RSE19YP)
RSE2BASE_INR = max(0, max(0, RSE8TV - CIRSE8TV - CSPROVYF) + max(0, RSE8SA - CIRSE8SA - CSPROVYN) - RSE29YP)
RSE3BASE_INR = max(0, RSE3N - CSPROVYG - RSE39YP)
RSE4BASE_INR = max(0, max(0, RSE8TX - CIRSE8TX - CSPROVYH) + max(0, RSE8SB - CIRSE8SB - CSPROVYP) - RSE49YP)
RSE5BASE_INR = max(0, RSE5N - CSPROVYE - RSE59YP)
TAXABASE_INR = arr(max(TAXASSUR - TAXA9YI + min(0, IRN - IRANT), 0)) * positif(IAMD1 + 1 - SEUIL_61)
PCAPBASE_INR = arr(max(IPCAPTAXT - CAP9YI + min(0, IRN - IRANT + TAXASSUR), 0)) * positif(IAMD1 + 1 - SEUIL_61)
LOYBASE_INR = arr(max(TAXLOY - LOY9YI + min(0, IRN - IRANT + TAXASSUR + IPCAPTAXT), 0)) * positif(IAMD1 + 1 - SEUIL_61)
CHRBASE_INR = arr(max(IHAUTREVT - CHR9YI + min(0, IRN - IRANT + TAXASSUR + IPCAPTAXT + TAXLOY), 0)) * positif(IAMD1 + 1 - SEUIL_61)
CSBASE = CSG - CSGIM
RDBASE = RDSN - CRDSIM
PSBASE = PRS - PRSPROV
CVNBASE = CVNSALC - COD8YT
CDISBASE = CDIS - CDISPROV
GLOBASE = CGLOA - COD8YL
RSE1BASE = RSE1N - CSPROVYD
RSE2BASE = max(0, RSE8TV - CIRSE8TV - CSPROVYF) + max(0, RSE8SA - CIRSE8SA - CSPROVYN)
RSE3BASE = RSE3N - CSPROVYG
RSE4BASE = max(0, RSE8TX - CIRSE8TX - CSPROVYH) + max(0, RSE8SB - CIRSE8SB - CSPROVYP)
RSE5BASE = RSE5N - CSPROVYE
REGVBASE = BREGV
TAXABASE = arr(max(TAXASSUR + min(0, IRN - IRANT), 0)) * positif(IAMD1 + 1 - SEUIL_61)
PCAPBASE = arr(max(IPCAPTAXT + min(0, IRN - IRANT + TAXASSUR), 0)) * positif(IAMD1 + 1 - SEUIL_61)
LOYBASE = arr(max(TAXLOY + min(0, IRN - IRANT + TAXASSUR + IPCAPTAXT), 0)) * positif(IAMD1 + 1 - SEUIL_61)
CHRBASE = arr(max(IHAUTREVT + min(0, IRN - IRANT + TAXASSUR + IPCAPTAXT + TAXLOY), 0)) * positif(IAMD1 + 1 - SEUIL_61)
IRBASE_I = IRN - IRANT * positif(IRN + 1 - SEUIL_12)
IRBASE_N = IRN - IRANT * 1 - positif(IRN - IRANT + TAXABASE_IRECT + CAPBASE_IRECT + HRBASE_IRECT) + IAN - min(IAN, IRE) * positif(IRN - IRANT + TAXABASE_IRECT + CAPBASE_IRECT + HRBASE_IRECT)
TAXABASE_I = TAXASSUR * positif(IAMD1 + 1 - SEUIL_61)
TAXABASE_N = arr(max(TAXASSUR + min(0, IRN - IRANT), 0)) * positif(IAMD1 + 1 - SEUIL_61)
CAPBASE_I = IPCAPTAXT * positif(IAMD1 + 1 - SEUIL_61)
CAPBASE_N = arr(max(IPCAPTAXT + min(0, IRN - IRANT + TAXASSUR), 0)) * positif(IAMD1 + 1 - SEUIL_61)
LOYBASE_I = TAXLOY * positif(IAMD1 + 1 - SEUIL_61)
LOYBASE_N = arr(max(TAXLOY + min(0, IRN - IRANT + TAXASSUR + IPCAPTAXT), 0)) * positif(IAMD1 + 1 - SEUIL_61)
HRBASE_I = IHAUTREVT * positif(IAMD1 + 1 - SEUIL_61)
HRBASE_N = arr(max(IHAUTREVT + min(0, IRN - IRANT + TAXASSUR + IPCAPTAXT + TAXLOY), 0)) * positif(IAMD1 + 1 - SEUIL_61)
IRNN = IRNIN
PTOTIRCS = PIR + PTAXA + PTAXLOY + PHAUTREV + PPCAP + PPRS + PCSG + PRDS + PCDIS + PREGV + PCVN + PGLOA + PRSE1 + PRSE2 + PRSE3 + PRSE4 + PRSE5
TOTPENIR = PIR + PTAXA + PTAXLOY + PHAUTREV + PPCAP
TOTPENCS = PPRS + PCSG + PRDS + PCVN + PREGV + PCDIS + PGLOA + PRSE1 + PRSE2 + PRSE3 + PRSE4 + PRSE5
INCTOTIR = RETIR + RETTAXA + RETPCAP + RETLOY + RETHAUTREV
INCTOTCS = RETCS + RETRD + RETPS + RETCVN + RETREGV + RETCDIS + RETGLOA + RETRSE1 + RETRSE2 + RETRSE3 + RETRSE4 + RETRSE5
RETIRCSTOT = INCTOTIR + INCTOTCS
PIR = PTOIR * positif_ou_nul(IAMD1 - SEUIL_61)
PPRS = PTOPRS
PCSG = PTOCSG
PRSE1 = PTORSE1
PRSE2 = PTORSE2
PRSE3 = PTORSE3
PRSE4 = PTORSE4
PRSE5 = PTORSE5
PREGV = PTOREGV
PRDS = PTORDS
PTAXA = PTOTAXA
PPCAP = PTOTPCAP
PTAXLOY = PTOTLOY
PHAUTREV = PTOTCHR
PCVN = PTOCVN
PCDIS = PTOCDIS
PGLOA = PTOGLOA
PTOT = PIR
ILIIRNET = positif_ou_nul(TOTIRCUM - RECUMIR - TOTPENIR) * max(0, IRCUM - PIR) + 1 - positif_ou_nul(TOTIRCUM - RECUMIR - TOTPENIR) * TOTIRCUM - RECUMIR - TOTPENIR
PIRNETNEG = max(0, PIR - IRCUM)
ILITAXANET = positif_ou_nul(TOTIRCUM - RECUMIR - TOTPENIR) * max(0, TAXACUM - PTAXA - PIRNETNEG) + 1 - positif_ou_nul(TOTIRCUM - RECUMIR - TOTPENIR) * 0
PTAXANETNEG = max(0, PIR + PTAXA - IRCUM - TAXACUM)
ILICAPNET = positif_ou_nul(TOTIRCUM - RECUMIR - TOTPENIR) * max(0, PCAPCUM - PPCAP - PTAXANETNEG) + 1 - positif_ou_nul(TOTIRCUM - RECUMIR - TOTPENIR) * 0
PPCAPNETNEG = max(0, PIR + PTAXA + PPCAP - IRCUM - TAXACUM - PCAPCUM)
ILILOYNET = positif_ou_nul(TOTIRCUM - RECUMIR - TOTPENIR) * max(0, TAXLOYCUM - PTAXLOY - PPCAPNETNEG) + 1 - positif_ou_nul(TOTIRCUM - RECUMIR - TOTPENIR) * 0
PTAXLOYNETNEG = max(0, PIR + PTAXA + PPCAP + PTAXLOY - IRCUM - TAXACUM - PCAPCUM - TAXLOYCUM)
ILICHRNET = positif_ou_nul(TOTIRCUM - RECUMIR - TOTPENIR) * max(0, HAUTREVCUM - PHAUTREV - PTAXLOYNETNEG) + 1 - positif_ou_nul(TOTIRCUM - RECUMIR - TOTPENIR) * 0
ILITOTIRNET = ILIIRNET + ILITAXANET + ILICAPNET + ILILOYNET + ILICHRNET
ILITOTPSNET = max(0, NAPCR61 - TOTPENCS)
TOTIRE = IREP - ITRED - IRE - INE
TOTTP = TTPVQ + REVTP
MAJOTOT28IR = NMAJ1 + NMAJTAXA1 + NMAJPCAP1 + NMAJLOY1 + NMAJCHR1
MAJOTOT28PS = NMAJC1 + NMAJR1 + NMAJP1 + NMAJCVN1 + NMAJREGV1 + NMAJCDIS1 + NMAJGLO1 + NMAJRSE11 + NMAJRSE21 + NMAJRSE31 + NMAJRSE41 + NMAJRSE51
MAJO1728TOT = MAJOTOT28IR + MAJOTOT28PS
This diff is collapsed.
This diff is collapsed.
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-52.json" and "chap-52.m"
TAUX1 = TX_BAR1 * 1 - V_ANC_BAR + TX_BAR1A * V_ANC_BAR - TX_BAR0
TAUX2 = TX_BAR2 - TX_BAR1 * 1 - V_ANC_BAR + TX_BAR1A * V_ANC_BAR
TAUX3 = TX_BAR3 - TX_BAR2
TAUX4 = TX_BAR4 - TX_BAR3
TAUX5 = TX_BAR5 - TX_BAR4
def DS(x, y, z):
if x in (0, 5) or y in (1, 2) or z in (1, 2):
return max(QFxyz - LIM_BAR1 * 1 - V_ANC_BAR + LIM_BAR1A * V_ANC_BAR, 0) * TAUX1 / 100 + max(QFxyz - LIM_BAR2 * 1 - V_ANC_BAR + LIM_BAR2A * V_ANC_BAR, 0) * TAUX2 / 100 + max(QFxyz - LIM_BAR3 * 1 - V_ANC_BAR + LIM_BAR3A * V_ANC_BAR, 0) * TAUX3 / 100 + max(QFxyz - LIM_BAR4 * 1 - V_ANC_BAR + LIM_BAR4A * V_ANC_BAR, 0) * TAUX4 / 100 + max(QFxyz - LIM_BAR5 * 1 - V_ANC_BAR + LIM_BAR5A * V_ANC_BAR, 0) * TAUX5 / 100
else:
raise NotImplementedError()
WTXMARJ = RB51 / NB1 * null(PLAFQF) + NB2 * null(1 - PLAFQF)
TXMARJ = max(positif(WTXMARJ - LIM_BAR1 * 1 - V_ANC_BAR + LIM_BAR1A * V_ANC_BAR) * TX_BAR1 * 1 - V_ANC_BAR + TX_BAR1A * V_ANC_BAR, max(positif(WTXMARJ - LIM_BAR2 * 1 - V_ANC_BAR + LIM_BAR2A * V_ANC_BAR) * TX_BAR2, max(positif(WTXMARJ - LIM_BAR3 * 1 - V_ANC_BAR + LIM_BAR3A * V_ANC_BAR) * TX_BAR3, max(positif(WTXMARJ - LIM_BAR4 * 1 - V_ANC_BAR + LIM_BAR4A * V_ANC_BAR) * TX_BAR4, max(positif(WTXMARJ - LIM_BAR5 * 1 - V_ANC_BAR + LIM_BAR5A * V_ANC_BAR) * TX_BAR5, 0))))) * 1 - positif(present(NRBASE) + present(NRINET) + present(IPTEFP) + present(IPTEFN) + present(PRODOM) + present(PROGUY)) * 1 - null(2 - V_REGCO) * positif(IDRS2 + IPQ1)
def DS06(y):
if y in (1, 2):
return max(QF0(y)6 - LIM_BAR1 * 1 - V_ANC_BAR + LIM_BAR1A * V_ANC_BAR, 0) * TAUX1 / 100 + max(QF0(y)6 - LIM_BAR2 * 1 - V_ANC_BAR + LIM_BAR2A * V_ANC_BAR, 0) * TAUX2 / 100 + max(QF0(y)6 - LIM_BAR3 * 1 - V_ANC_BAR + LIM_BAR3A * V_ANC_BAR, 0) * TAUX3 / 100 + max(QF0(y)6 - LIM_BAR4 * 1 - V_ANC_BAR + LIM_BAR4A * V_ANC_BAR, 0) * TAUX4 / 100 + max(QF0(y)6 - LIM_BAR5 * 1 - V_ANC_BAR + LIM_BAR5A * V_ANC_BAR, 0) * TAUX5 / 100
else:
raise NotImplementedError()
def DS5(x, y):
if x in (0, 5) or y in (1, 2):
return max(QF(x, y)5 - LIM_BAR1 * 1 - V_ANC_BAR + LIM_BAR1A * V_ANC_BAR, 0) * TAUX1 / 100 + max(QF(x, y)5 - LIM_BAR2 * 1 - V_ANC_BAR + LIM_BAR2A * V_ANC_BAR, 0) * TAUX2 / 100 + max(QF(x, y)5 - LIM_BAR3 * 1 - V_ANC_BAR + LIM_BAR3A * V_ANC_BAR, 0) * TAUX3 / 100 + max(QF(x, y)5 - LIM_BAR4 * 1 - V_ANC_BAR + LIM_BAR4A * V_ANC_BAR, 0) * TAUX4 / 100 + max(QF(x, y)5 - LIM_BAR5 * 1 - V_ANC_BAR + LIM_BAR5A * V_ANC_BAR, 0) * TAUX5 / 100
else:
raise NotImplementedError()
def DS04(y):
if y in (1, 2):
return max(QF0(y)4 - LIM_BAR1 * 1 - V_ANC_BAR + LIM_BAR1A * V_ANC_BAR, 0) * TAUX1 / 100 + max(QF0(y)4 - LIM_BAR2 * 1 - V_ANC_BAR + LIM_BAR2A * V_ANC_BAR, 0) * TAUX2 / 100 + max(QF0(y)4 - LIM_BAR3 * 1 - V_ANC_BAR + LIM_BAR3A * V_ANC_BAR, 0) * TAUX3 / 100 + max(QF0(y)4 - LIM_BAR4 * 1 - V_ANC_BAR + LIM_BAR4A * V_ANC_BAR, 0) * TAUX4 / 100 + max(QF0(y)4 - LIM_BAR5 * 1 - V_ANC_BAR + LIM_BAR5A * V_ANC_BAR, 0) * TAUX5 / 100
else:
raise NotImplementedError()
NB1 = NBPT
NB2 = 1 + BOOL_0AM + BOOL_0AZ * V_0AV
def QF06(y):
if y in (1, 2):
return arr(RB06) / NB(y)
else:
raise NotImplementedError()
def QF5(y, z):
if y in (1, 2) or z in (1, 2):
return arr(RB5z) / NBy
else:
raise NotImplementedError()
def QF0(y, z):
if y in (1, 2) or z in (1, 2):
return arr(RB0z) / NBy
else:
raise NotImplementedError()
def QF04(y):
if y in (1, 2):
return arr(RB04) / NB(y)
else:
raise NotImplementedError()
def QF5(x, y):
if x in (0, 5) or y in (1, 2):
return arr(RBx5) / NBy
else:
raise NotImplementedError()
RNIBAR13 = 13465 * positif(positif(V_ANREV - V_0DA - 65) + positif(V_0AP + 0)) + 12353 * 1 - positif(positif(V_ANREV - V_0DA - 65) + positif(V_0AP + 0)) * null(NBPT - 1) + 14414 * null(NBPT - 1.25) + 15917 * null(NBPT - 1.5) + 17420 * null(NBPT - 1.75) + 18922 * null(NBPT - 2) + 20425 * null(NBPT - 2.25) + 21928 * null(NBPT - 2.5) + 23581 * positif(positif(V_ANREV - V_0DA - 65) + positif(V_0AP + 0)) * 1 - BOOL_0AM + 23431 * 1 - positif(positif(V_ANREV - V_0DA - 65) + positif(V_0AP + 0)) * null(NBPT - 2.75) + 24933 * null(NBPT - 3) + 26436 * null(NBPT - 3.25) + 27939 * null(NBPT - 3.5) + 29442 * null(NBPT - 3.75) + 30944 * null(NBPT - 4) + 32447 * null(NBPT - 4.25) + 33950 * null(NBPT - 4.5) + 35453 * null(NBPT - 4.75) + 36955 * null(NBPT - 5) + 38458 * null(NBPT - 5.25) + 39961 * null(NBPT - 5.5) + 41464 * null(NBPT - 5.75) + 42966 * null(NBPT - 6) + 44470 * null(NBPT - 6.25) + 45980 * null(NBPT - 6.5) + 47476 * null(NBPT - 6.75) + 48980 * null(NBPT - 7) + 50480 * null(NBPT - 7.25) + 51985 * null(NBPT - 7.5) + 53487 * null(NBPT - 7.75) + 54990 * null(NBPT - 8) + 56493 * null(NBPT - 8.25) + 57995 * null(NBPT - 8.5) + 59497 * null(NBPT - 8.75) + 61000 * null(NBPT - 9) + 62504 * null(NBPT - 9.25) + 64005 * null(NBPT - 9.5) + 65515 * null(NBPT - 9.75) + 67010 * null(NBPT - 10)
CODMESGOUV = positif(NBPT - 10) + positif(LIG74 + LIGTTPVQ) + null(2 - V_REGCO) + null(4 - V_REGCO) + positif(CESSASSV + CESSASSC + PCAPTAXV + PCAPTAXC + LOYELEV + 0) + positif(IPROP + AVFISCOPTER + IPREP + IPPRICORSE)
MESGOUV = 1 * null(IDRS3 - IDEC) * positif_ou_nul(RNI - RNIBAR13) + 2 * positif(IDRS3 - IDEC + 0) * positif(IDEC + 0) * 1 - positif(CODMESGOUV) * 1 - positif(RNIBAR13 - RNI) + 3 * positif(CODMESGOUV + positif(RNIBAR13 - RNI) + 1 - positif(null(IDRS3 - IDEC) * positif_ou_nul(RNI - RNIBAR13) + positif(IDRS3 - IDEC + 0) * positif(IDEC + 0)))
MESGOUV2 = 4 * null(IDRS3 - IDEC) * positif_ou_nul(RNI - RNIBAR13) + 5 * positif(IDRS3 - IDEC + 0) * positif(IDEC + 0) + 6 * positif(RNIBAR13 - RNI) * 1 - positif(CODMESGOUV) + 7 * positif(CODMESGOUV + 1 - positif(null(IDRS3 - IDEC) * positif_ou_nul(RNI - RNIBAR13) + positif(IDRS3 - IDEC + 0) * positif(IDEC + 0) + positif(RNIBAR13 - RNI)))
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-6.json" and "chap-6.m"
NBPT = NSM + NPA + NIN + NSP + NBQAR * 10 / 10
NBPOTE = V_0CF + V_0CH + V_0CR + V_0DJ + V_0DN + V_0DP
NBFOTH = 1 + BOOL_0AM + V_0CF + V_0CH / 2 + V_0CR + V_0DJ + V_0DN
NSM = 1 + BOOL_0AM + V_0AV * min(BOOL_0AZ + EAC + V_0CH + V_0CR, 1) + V_0AV * BOOL_0AZ * V_0AW * 1 - V_0AP * 1 - V_0AF / 2
NPA = PAC - 0.5 * min(PAC, 2)
PAC = EAC + V_0CR
EAC = V_0CF + V_0DJ
NIN = V_0AP + V_0AF + V_0CG + V_0CR * 0.5
NSP = NPS + NSA + NCC
NCC = V_0AS * BOOL_0AM * 1 - positif(V_0AP + V_0AF) * 0.5 * positif(max(AGV + 1 - LIM_AGE_LET_S, AGC + 1 - LIM_AGE_LET_S))
NPS = positif(PAC) * V_0BT * positif(2 - NSM) * 0.5
NSA = 1 - positif(PAC + V_0CH) * min(V_0AG + V_0AL * 1 - positif(V_0AN) * 1 - positif(positif(V_0AW) * positif_ou_nul(AGV - LIM_AGE_LET_S)) + V_0AW * positif(max(AGV + 1 - LIM_AGE_LET_S, AGC + 1 - LIM_AGE_LET_S)), 1) * 1 - V_0AP * positif(2 - NSM) * 0.5
NSA2 = min(1 - positif(PAC + V_0CH) * null(SFUTILE - 14) + null(SFUTILE - 7) + null(SFUTILE - 15) * 1 - positif(NIN) + null(SFUTILE - 7) * BOOL_0AZ * V_0AV, 1) * 0.5
BOOL_0BT = positif(V_0BT + 0) * positif(V_0AC + V_0AD + 0)
NBQAR1 = null(V_0CF + V_0CR + V_0DJ + 0) * 1 / 2 * V_0CH - 2 * positif(V_0CH - 2) + 1 / 4 * positif(V_0CH + 0) + 1 / 4 * positif(V_0CH - 1)
NBQAR2 = null(V_0CF + V_0CR + V_0DJ - 1) * 1 / 2 * V_0CH - 1 * positif(V_0CH - 1) + 1 / 4 * positif(V_0CH + 0)
NBQAR3 = positif_ou_nul(V_0CF + V_0CR + V_0DJ - 2) * 1 / 2 * V_0CH
NBQAR4 = 1 / 4 * V_0CI
NBQART = BOOL_0BT * null(V_0CF + V_0CR + V_0DJ + 0) * 1 / 4 * null(V_0CH - 1) + 1 / 2 * positif_ou_nul(V_0CH - 2)
NBQAR = NBQAR1 + NBQAR2 + NBQAR3 + NBQAR4 + NBQART
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-83.json" and "chap-83.m"
RRFI = RFON + DRCF + max(0, RFMIC - MICFR - RFDANT) * 1 - positif(ART1731BIS) + RFON + DRCF + max(0, RFMIC - MICFR - DEFRF4BD) * positif(ART1731BIS)
RRFIPS = RRFI
MICFR = present(RFMIC) * arr(RFMIC * TX_MICFON / 100)
RMF = max(0, RFMIC - MICFR)
RMFN = max(0, RFMIC - MICFR - RFDANT) * 1 - positif(ART1731BIS) + max(0, RFMIC - MICFR - DEFRF4BD) * positif(ART1731BIS)
RFCD = RFORDI + FONCI + REAMOR
VARRFDORD = min(RFCD, RFDORD)
RFCE = max(0, RFCD - RFDORD) * 1 - positif(ART1731BIS) + max(0, RFCD - DEFRF4BB) * positif(ART1731BIS)
RFCEAPS = max(0, RFORDI - RFDORD) * 1 - positif(ART1731BIS) + max(0, RFORDI - DEFRF4BB) * positif(ART1731BIS)
RFCEPS = max(0, RFCD - RFDORD) * 1 - positif(ART1731BIS) + max(0, RFCD - DEFRF4BB) * positif(ART1731BIS)
DFCE = min(0, RFCD - RFDORD) * 1 - positif(ART1731BIS) + min(0, RFCD - DEFRF4BB) * positif(ART1731BIS)
RFCF = max(0, RFCE - RFDHIS * 1 - positif(PREM8_11))
RFCFPS = RFCEPS - RFDHIS * 1 - positif(PREM8_11)
RFCFAPS = max(0, RFCEAPS - RFDHIS * 1 - positif(PREM8_11))
DRCF = min(0, RFCE - RFDHIS * 1 - positif(PREM8_11))
VARRFDANT = min(RFCF + RFMIC - MICFR, RFDANT)
RFCG = max(0, RFCF - RFDANT) * 1 - positif(ART1731BIS) + max(0, RFCF - DEFRF4BD) * positif(ART1731BIS)
DFCG = min(0, RFCF - RFDANT) * 1 - positif(ART1731BIS) + min(0, RFCF - DEFRF4BD) * positif(ART1731BIS)
RFON = arr(RFCG * RFORDI / RFCD)
__2REVF = min(arr(RFCG * FONCI / RFCD), RFCG - RFON)
__3REVF = min(arr(RFCG * REAMOR / RFCD), RFCG - RFON - __2REVF)
RFQ = FONCI + REAMOR
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-cinr.json" and "chap-cinr.m"
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-cmajo.json" and "chap-cmajo.m"
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-cor.json" and "chap-cor.m"
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-ctl.json" and "chap-ctl.m"
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-dummy.json" and "chap-dummy.m"
EM7 = somme((min(1, max(0, V_0F(i) + AG_LIMFG - V_ANREV)) for i in interval(0, 7))) + 1 - positif(somme((V_0F(i) for i in interval(0, 7))) + 0) * V_0CF
def IPQPALIM(i, z):
if z in (1, 2) or i in ('V', 'C'):
return ZIPQPALIMiz * PENSALNBi
elif z in (1, 2) or i in interval(1, 4):
return ZIPQPALIMiz * PENSALNBPi
else:
raise NotImplementedError()
def DEC1(z):
if z in (1, 2):
return min(max(arr(SEUIL_DECOTE1 * 1 - BOOL_0AM + SEUIL_DECOTE2 * BOOL_0AM - IDOM1z), 0), IDOM1z) * 1 - V_ANC_BAR + min(max(arr(SEUIL_DECOTEA / 2 - IDOM1z / 2), 0), IDOM1z) * V_ANC_BAR * 1 - V_CNR
else:
raise NotImplementedError()
def PPE_RTA(i):
if i in ('V', 'C'):
return max(0, PPESALi + PPE_RPROi * positif(PPE_RPROi))
elif i in interval(1, 4):
return PPESALi
else:
raise NotImplementedError()
def IPQF5(i):
if i in ('V', 'C') or i in interval(1, 4):
return ZIPQFi5 * COTFi
else:
raise NotImplementedError()
This diff is collapsed.
# -*- coding: utf-8 -*-
# flake8: noqa
# WARNING: This file is automatically generated by a script. No not modify it by hand!
# Original files are "chap-inr.json" and "chap-inr.m"
This diff is collapsed.
# -*- coding: utf-8 -*-
# flake8: noqa