// Uncomment the following line to change the fontsize and font:
fontsize=10
// fontfamily=SansSerif //possible: SansSerif,Serif,Monospaced
//////////////////////////////////////////////////////////////////////////////////////////////
// Welcome to UMLet!
//
// Double-click on elements to add them to the diagram, or to copy them
// Edit elements by modifying the text in this panel
// Hold Ctrl to select multiple elements
// Use Ctrl+mouse to select via lasso
//
// Use +/- or Ctrl+mouse wheel to zoom
// Drag a whole relation at its central square icon
//
// Press Ctrl+C to copy the whole diagram to the system clipboard (then just paste it to, eg, Word)
// Edit the files in the "palettes" directory to create your own element palettes
//
// Select "Custom Elements > New..." to create new element types
//////////////////////////////////////////////////////////////////////////////////////////////
// This text will be stored with each diagram; use it for notes.
7
UMLClass
217
385
182
245
MainApp
--
+ zoomcount: int = 0
+ thrd: Thread = None
+ container: Container()
+ comp: ComponentSelector()
+ scene: Graphics.QGraphicsScene()
--
+ menuBar()
+ buttonHandler()
+ help()
+ BinPhaseEnv()
+ selectCompounds()
+ currentTime()
+ simulate(mode)
+ terminate()
+ zoomReset()
+ zoomOut()
+ zoomIn()
+ component()
+ new()
+ deleteCall()
+ undo_redo_helper()
+ undo()
+ redo()
+ save()
+ open()
UMLClass
231
210
154
119
QMainWindow
--
graphicsView.keyPressEvent
textBrowser: UC1
--
setUpUi()
graphicsView.setScene()
graphicsView.setMouseTracking()
setDockNestingEnabled()
setCorner()
addDockWidget()
Relation
301
322
21
77
lt=<<.
10.0;10.0;10.0;90.0
UMLClass
245
112
119
42
UC1 (textBrowserClass)
--
setText()
Relation
294
147
21
77
lt=<<.
10.0;10.0;10.0;90.0
UMLClass
455
126
224
189
ComponentSelector
--
+ Dict1: dictionary = dict()
+ instance: list = [ChemsepDatabase()]
+ lines: list = []
+ model: QStringListModel()
+ completer: QCompleter()
--
+ final_list(*list_name)
+ isCompSelected()
+ get_object(component)
+ get_original_name(component, removing_attrib)
+ compoundSelection()
_+ setCompounds(compounds)_
+ addToTable(a)
+ addCompToList(comp)
+ removeItems()
+ Show_Error()
+ cancel()
+ getComp()
+ final_mo()
UMLClass
469
378
161
252
Container
--
+ unitOp: list = []
+ termoPackage = None
+ compounds = None
+ conn: dictionary = defaultdict(list)
+ op: dictionary = defaultdict(list)
+ ip: dictionary = defaultdict(list)
+ msg
+ opl: list = []
+ result: list = []
+ graphics: Graphics(unitOp)
+ scene : graphics.getScene()
--
+ currentTime()
+ addUnitOp(obj, graphicsView)
+ delete(l)
+ fetchObject(name)
+ addCompounds(comp)
+ add_thermoPackage(thermo)
+ msgBrowser()
+ simulate(mode)
+ flatlist(lst)
+ PUSH(fileName, data)
+ CLEAN_FILE(fileName)
+ POP(fileName)
+ get_last_list(fileName)
UMLClass
686
434
238
119
Graphics
--
+ scene: QGraphicsScene()
+ pos: QPointF = None
+ unitOp: list = unitOp
--
+ getScene()
+ getComponentSelector()
+ createNodeItem(unitOpr, container, graphicsView)
+ boundingRect()
+ loadCanvas(obj)
UMLClass
728
238
147
105
QDialog
--
lineEdit: UC2
compoundSelectButton: UC3
pushButton: UC4
pushButton_2: UC4
pshButton_3: UC4
--
setupUi()
show()
UMLClass
728
42
147
35
QStringListModel
--
setStringList()
UMLClass
910
231
147
49
UC3 (selectButtonClass)
--
clicked.connect()
setAutoDefault()
UMLClass
728
98
147
49
QCompleter
--
setCaseSensitivity()
setModel()
UMLClass
728
175
147
35
UC2 (lineEditClass)
--
setCompleter()
UMLClass
910
294
147
35
UC4 (pushButtonClass)
--
clicked.connect()
UMLClass
665
595
259
315
NodeItem
--
+ obj: UnitOperation = unitOpr
+ container: Container = container
+ graphicsView: QGraphicsView = graphicsView
+ name: string = obj.name
+ type: string = obj.type
+ default_tooltip: string
+ default_tooltip_dict: dictionary
+ nin: int = obj.no_of_inputs
+ nop: int = obj.no_of_outputs
+ text: string = user_input
+ ok: boolean = user_input
+ dockWidget: DockWidget() or DockWidgetMaterialStream()
or DockWidgetMixer() or DockWidgetSplitter()
or DockWidgetFlash() or DockWidgetCompoundSeparator()
or DockWidgetDistillationColumn()
or DockWidgetShortcutColumn()
+ mainwindow = findMainWindow()
+ pic: QPixmap()
+ rect: QRect()
+ text: QGraphicsTextItem()
+ f: QFont()
+ brush: QBrush()
+ pen: QPen()
+ selPen: QPen()
+ Input:list = [NodeSocket(type)]
+ Output:list = [NodeSocket(type)]
--
shape()
boundingRect()
paint()
mouseMoveEvent(event)
mouseDoubleClickEvent(event)
+ initializeSockets(type)
UMLClass
644
987
119
49
QtWidgets.QGraphicsItem
--
setTooltip(default_tooltip)
setFlag
UMLClass
847
1036
147
35
QtWidgets.QInputDialog
--
getText()
UMLClass
798
1092
147
35
QtGui.QFont
--
setPointSize()
UMLClass
644
1064
147
77
QtWidgets.QGraphicTextItem
--
setFont()
setDefaultTextColor()
setParentItem()
setPos()
setPlainText()
UMLClass
483
707
112
42
QtGui.QBrush
--
setStyle()
setColor()
UMLClass
294
707
147
56
QtGui.QPen
--
setStyle()
setColor()
setWidth()
UMLClass
469
805
147
189
NodeSocket
--
+ rect: QRect = rect
+ type: string = socketType
+ parent: NodeItem = parent
+ newLine: NodeLine = None
+ otherLine: NodeLine = None
+ brush: QBrush()
+ pen: QPen()
+ outLines: list = []
+ inLines: list = []
--
shape()
boundingRect()
paint()
mousePressEvent(event)
mouseMoveEvent(event)
mouseReleaseEvent(event)
hoverEnterEvent(event)
hoverLeaveEvent(event)
+ getCenter()
UMLClass
245
805
147
161
NodeLine
--
+ _pointA: QPointF = pointA
+ _pointB: QPointF = pointB
+ _source: QPointF = None
+ _targer: QPointF = None
+ socket: string = socket
+ pen: QPen()
--
updatePath()
paint()
__delete__(instance)
+ pointA()
+ pointA(point)
+ pointB()
+ pointB(poing)
+ source()
+ target()
UMLClass
140
707
147
56
QtWigets.QGraphicsPathItem
--
setZValue()
setBrush()
setPen()
UMLClass
1337
154
168
210
DockWidgetMaterialStream
--
+ name: string = name
+ obj: UnitOperations = obj
+ type: string = comptype
+ input_dict: dictionary = {}
+ dict: dictionary = {}
+ x_pclist: list = []
+ name_type: string = None
+ container: Container = container
+ header: QTreeWidgetItem()
--
+ modes()
+ mode_selection()
+ input_params_list()
+ param()
+ results_category(name)
+ _show_result(lst)_
+ show_error()
UMLClass
910
350
147
35
UC5 (comboBoxClass)
--
currentIndexChanged.connect()
UMLClass
1092
294
168
182
DockWidget
--
+ name: string = name
+ obj: UnitOperations = obj
+ type: string = comptype
+ input_dict: dictionary = {}
+ dict: dictionary = {}
+ x_pclist: list = []
+ name_type: string = None
+ container: Container = container
--
+ modes()
+ mode_selection()
+ input_params_list()
+ param()
+ show_error()
_+ show_result(lst)_
+ result_category(name)
UMLClass
1120
147
147
112
QDockWidget
--
pushButton_2: UC4
comboBox: UC5
btn:UC4
--
setupUi()
setWindowTitle()
hide()
UMLClass
1337
686
168
161
DockWidgetShortcutColumn
--
+ name: string = name
+ obj: UnitOperations = obj
+ type: string = comptype
+ input_dict: list = []
+ dict: list = []
+ name_yype: string = None
+ container: Container = container
--
+ input_params_list()
+ fun()
+ param()
+ show_error()
_+ show_result(lst)_
+ result_category(name)
UMLClass
1337
546
168
126
DockWidgetMixer
DockWidgetCompoundSeparator
--
+ name: string = name
+ obj: UnitOperations = obj
+ type: string = comptype
+ input_dict: list = []
+ dict: list = []
--
+ input_params_list()
+ param()
+ show_error()
UMLClass
1337
392
168
140
DockWidgetSplitter
DockWidgetFlash
--
+ name: string = name
+ obj: UnitOperations = obj
+ type: string = comptype
+ input_dict: list = []
+ dict: list = []
--
+ input_params_list()
+ fun()
+ param()
+ show_error()
UMLClass
1022
511
231
231
Flowsheet
--
+ sim_name: string = 'Simulator'
+ sim_method: string = ''
+ UnitOpn: list = []
+ data: list = []
+ compounds: list = []
+ interface: string = ''
+ omc_path: string = None
+ omc_path: string = cwd()
+ sim_dir_path: string = join(curr_path, sim_name)
+ Flomo_path: string = join(ssim_dir_path, 'Flowsheet.mo')
+ eqn_mos_path: string = join(sim_dir_path, 'simlateEQN.mos')
+ sm_mos_path: string = join(sim_dir_path, 'simulateSM.mos')
+ resdata: list = []
+ stdout = None
+ stderr = None
--
+ get_omc_path()
+ add_UnitOpn()
+ remove_UnitOpn()
+ add_comp_list()
+ send_for_simulationEqn()
+ send_for_simulationSM()
+ ExtData()
+ simulateEQN()
+ simulateSM()
UMLClass
1050
980
189
280
MaterialStream
--
_+ counter: int = 1_
+ name: string = 'MaterialStream' + counter
+ type: string = 'MaterialStream'
+ CompNames: string = CompNames
+ count: int = counter
+ thermoPackage: string = 'RaoultsLaw'
+ mode1: string = 'P'
+ mode2: string = 'T'
+ mode1val: string = ''
+ mode2Val: string = ''
+ OM_data_init: string = ''
+ OM_data_eqn: string = ''
+ no_of_inputs: int = 1
+ no_of_outputs: int = 2
+ x: int = 2500-30
+ y: int = 2500-30
+ startDict: dictionary = {}
+ eqnDict: dictionary = {}
+ modesList: list = ['PT',...]
+ variables: dictionary = {'P':{..},...}
--
+ paramgetter(mode)
+ paramsetter(params)
+ setPos(pos)
+ GetMinEqnValues()
+ GetStartValues()
+ OM_Flowsheet_Initialize()
+ OM_Flowsheet_Equation()
UMLClass
1316
980
189
350
UnitOperations
--
_+ counter: int = 1_
+ OM_data_eqn: string = ''
+ OM_data_init: string = ''
+ InputStms: list = []
+ OutputStms: list = []
+ compounds: list = compound_selected
+ name: string = ''
+ mode: string = None
+ modeVal: string = None
+ type: string = None
+ no_of_inputs: int = 1
+ no_of_outputs: int = 1
+ x: int = 2500-30
+ y: int = 2500-30
+ pos: QPointF(x, y)
+ count: int = counter
+ variables: dictionary = {}
+ modesList: list = []
+ parameters: list = []
+ extra: list = []
+ ForNaming: list = []
+ multidict: list = []
+ ThermoPackReq: boolean = False
+ thermoPackage: list = None
--
+ paramgetter(mode)
+ paramsetter(params)
+ setPos(pos)
+ add_connection(flag, UnitOpr)
+ OM_Flowsheet_Initialize()
+ OM_Flowsheet_Equation()
UMLClass
0
497
175
168
Bin_Phase_env
--
+ comp: CompoundSelector = comp
+ compounds: list = comp.getComp()
+ lines: list = [line.rstrip('\n')...]
+ counter: int = 1
--
setupUi()
+ button_handler()
+ T_xy()
+ P_xy()
+ get_omc_path()
+ plot()
+ pressEvent(evt)
+ entered(items)
UMLClass
490
0
147
98
ChemsepDatabase
--
+ comp_name_list: list = list()
+ name: string = 'chemsep'
+ comp_prop_list: list = list()
--
+ get_comp_name_list()
+ get_value(comps, attrib)
+ get_comp_prop(comps)
Relation
392
308
84
126
lt=<-
100.0;10.0;100.0;160.0;10.0;160.0
Relation
392
476
91
21
lt=<-
110.0;10.0;10.0;10.0
Relation
553
91
21
49
lt=<<.
10.0;10.0;10.0;50.0
Relation
672
280
70
21
lt=<<.
80.0;10.0;10.0;10.0
Relation
791
203
21
49
lt=<<.
10.0;10.0;10.0;50.0
Relation
791
140
21
49
lt=<<.
10.0;10.0;10.0;50.0
Relation
791
70
21
42
lt=<<.
10.0;10.0;10.0;40.0
Relation
868
252
56
21
lt=<<.
60.0;10.0;10.0;10.0
Relation
868
301
56
21
lt=<<.
60.0;10.0;10.0;10.0
Relation
623
497
77
21
lt=<-
90.0;10.0;10.0;10.0
Relation
791
546
21
63
lt=<-
10.0;70.0;10.0;10.0
Relation
609
875
70
21
lt=<-
10.0;10.0;80.0;10.0
Relation
385
875
98
21
lt=<-
10.0;10.0;120.0;10.0
Relation
217
756
105
63
lt=<<.
10.0;10.0;130.0;70.0
Relation
315
756
63
63
lt=<<.
70.0;10.0;10.0;70.0
Relation
539
742
21
77
lt=<<.
10.0;10.0;10.0;90.0
Relation
588
728
91
21
lt=<<.
10.0;10.0;110.0;10.0
Relation
700
903
21
98
lt=<<.
10.0;120.0;10.0;10.0
Relation
917
903
21
147
lt=<<.
10.0;190.0;10.0;10.0
Relation
819
903
21
203
lt=<<.
10.0;270.0;10.0;10.0
Relation
770
903
21
175
lt=<<.
10.0;230.0;10.0;10.0
Relation
623
560
413
21
lt=<-
570.0;10.0;10.0;10.0
Relation
973
560
448
434
lt=<-
620.0;600.0;620.0;520.0;10.0;520.0;10.0;10.0
Relation
1134
917
21
77
lt=<-
10.0;90.0;10.0;10.0
Relation
917
245
672
651
lt=<-
840.0;10.0;940.0;10.0;940.0;910.0;10.0;910.0
Relation
1498
448
91
21
lt=<-
10.0;10.0;110.0;10.0
Relation
1498
602
91
21
lt=<-
10.0;10.0;110.0;10.0
Relation
1498
763
91
21
lt=<-
10.0;10.0;110.0;10.0
Relation
1253
371
336
21
lt=<-
10.0;10.0;460.0;10.0
Relation
1162
252
21
56
lt=<<.
10.0;10.0;10.0;60.0
Relation
1260
175
91
21
lt=<<.
10.0;10.0;110.0;10.0
Relation
1260
196
98
210
lt=<<.
10.0;10.0;120.0;280.0
Relation
1260
224
91
336
lt=<<.
10.0;10.0;110.0;460.0
Relation
1260
252
91
455
lt=<<.
10.0;10.0;110.0;630.0
Relation
168
546
63
21
lt=<<.
10.0;10.0;70.0;10.0
Relation
1050
308
56
21
lt=<<.
10.0;10.0;60.0;10.0
Relation
1050
364
56
21
lt=<<.
10.0;10.0;60.0;10.0
UMLNote
14
1008
112
35
UC is the abbreviation
for unknown class.
bg=white
UMLClass
1141
56
147
49
Graphics.py
--
findMainWindow()
UMLClass
1554
1267
147
119
Heater
Cooler
AdiabaticCompressor
AdiabaticExpander
Valve
Pump
Flash
--
UMLClass
1554
1127
147
35
Mixer
--
+ Pout_modes: list = [...]
UMLClass
1554
1169
147
35
Splitter
--
+ CalcType_modes: list = [...]
UMLClass
1554
1218
147
35
CompoundSeparator
--
+ SepFact_modes: list = [...]
UMLClass
1554
994
175
70
DistillationColumn
--
+ EngStm1:string = 'EngStm1'+name
+ EngStm2: string = 'EngStm2'+name
+ Cspec_list: list = [...]
+ Rsepc_list: list = [...]
UMLClass
1554
1071
175
49
ShortcutColumn
--
+ EngStm1:string = 'EngStm1'+name
+ EngStm2: string = 'EngStm2'+name
Relation
1498
1022
70
21
lt=<<-
10.0;10.0;80.0;10.0
Relation
1498
1085
70
21
lt=<<-
10.0;10.0;80.0;10.0
Relation
1498
1141
70
21
lt=<<-
10.0;10.0;80.0;10.0
Relation
1498
1190
70
21
lt=<<-
10.0;10.0;80.0;10.0
Relation
1498
1232
70
21
lt=<<-
10.0;10.0;80.0;10.0
Relation
1498
1309
70
21
lt=<<-
10.0;10.0;80.0;10.0
Relation
7
1064
133
28
lt=<-
Association
10.0;20.0;170.0;20.0
Relation
7
1106
133
28
lt=<<.
Implements
10.0;20.0;170.0;20.0
Relation
7
1141
133
28
lt=<<-
Inherits
10.0;20.0;170.0;20.0
Relation
7
1169
147
28
+'s are user-defined variables and methods
Qt's methods does not have any symbols
80.0;20.0;120.0;20.0