This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scipy.optimize import fsolve, minimize, Bounds | |
import numpy, matplotlib.pyplot as plt | |
from numpy import exp, sin, log, sqrt, floor | |
pi = numpy.pi | |
x0 = [42e-3,2e-3,56e-3,42+273.15] | |
y0 = [12e-3,2e-3, 42+273.15] | |
def Dimensionnement_echangeur_E(X, printlog=False): | |
#X[0]=De |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime as l | |
import sys | |
import time as tm | |
libs = [] | |
version = 1.14 | |
name = "Alexandra" | |
params = [] | |
d=l.date.today() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
def openFile(name, maxTime=0): | |
file = open(name+".txt") | |
tab = file.read() | |
tab=tab.split("\n") | |
names=tab[0].split("\t") | |
if(maxTime==0): | |
maxTime=len(tab) | |
new_tab = [] |