In [57]:
# Get the package for importing matalab data
import scipy.io

# Define the TUBS Colorscale for 10 Colors
# TUBS Rot, Gelb, Orange, Hellgrün, Grün, Dunkelgrün, Hellblau, Blau, Dunkelblau 
TUBScolorscale=['rgba(190,30,60,0.9)',
               'rgba(255,200,42,0.9)',
               'rgba(225,109,0,0.9)',
               'rgba(172,193,58,0.9)',
               'rgba(109,131,0,0.9)',
               'rgba(0,83,74,0.9)',
               'rgba(102,180,211,0.9)',
               'rgba(0,112,155,0.9)',
               'rgba(0,63,87,0.9)',
               'rgba(138,48,127,0.9)']

In [58]:
# Data is stored like Order, Sample, 0 = Real System 1= Model System
Data = scipy.io.loadmat(r'C:\Users\juliu\Documents\Thesis\Matlab\KTL_5000\KTL50000.mat')
Data = Data['TFData']
OP =Data['OperatingPoint']
FT =Data['Fan_Temperature']
VT =Data['Valve_Temperature']
FP =Data['Fan_Pressure']
VP =Data['Valve_Pressure']

In [59]:
# Import Plotly
from plotly import __version__
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
from plotly.graph_objs import *
import plotly
plotly.offline.init_notebook_mode()