forked from toogad/PooPyLab_Project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchange_log.txt
More file actions
277 lines (255 loc) · 12.2 KB
/
change_log.txt
File metadata and controls
277 lines (255 loc) · 12.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
CHANGE LOGS:
==============================================================================
base class:
------------------------------------------------------------------------------
20191122 KZ: updated documentation
20191112 KZ: added more documentation in code
20191021 KZ: cleaned up
Oct 09, 2019 KZ: removed set_as_visited() and is_visited()
Oct 07, 2019 KZ: added get_flow_data_src()
Sep 20, 2019 KZ: added assign_initial_guess() back
Jul 26, 2019 KZ: added is_converged()
Jul 16, 2019 KZ: added get_type()
Jun 19, 2019 KZ: improved branch flow balance
Jun 18, 2019 KZ: added funcs to assist branch flow balance
Jun 10, 2019 KZ: further revised to splitter-like base
Jun 04, 2019 KZ: change the base to splitter-like.
May 22, 2019 KZ: added options for branch in get_xxxx() functions
Jan 12, 2019 KZ: resumed and cleaned up
Feb 03, 2018 KZ: reviewed
Jul 21, 2017 KZ: made it more pythonic
Mar 21, 2017 KZ: Migrated to Python3
Jun 16, 2015 KZ: Removed Set(Get)PreFix(), Set(Get)Group();
Renamed SetAs(Is)Done() to SetAs(Is)Visited()
Mar 20, 2015 KZ: Added Set(Get)PreFix(), Set(Get)Group(),
SetAs(Is)Done() for tracking status in loop finding
Nov 20, 2014 KZ: Added UpstreamConnected() and MainOutletConnected()
Jun 29, 2014 KZ: Replace Interpret() with GetXXXX() functions
Jun 28, 2014 KZ: Added GetTSS(), getTotalCOD(), and getSoluableCOD()
Mar 15, 2014 KZ: Moved AddUpstreamUnit(), RemoveUpstreamUnit(), and
SetDownstreamMainUnit() to Pipe()
Mar 06, 2014 KZ: Re-wrote the common interface and change Base into an
abstract class
Dec 25, 2013 KZ: commented out the BlendComponent() function in
ReceiveFrom()
Dec 17, 2013 KZ: added _PrevComp[0:12] to store state variables from
previous iteration
Dec 07, 2013 Kai Zhang (KZ)
splitter class:
------------------------------------------------------------------------------
20191122 KZ: updated documentation
20191003 KZ: revised for the run time flow balance steps
20190920 KZ: added back assign_initial_guess()
20190811 KZ: moved assign_initial_guess() to asm_reactor
20190905 KZ: revised getTSS...to match new model component order
20190814 KZ: revised timing for setting _prev_mo_comps and _prev_so_comps
20190813 KZ: revised discharge(), removed _inflow_totalized and
in_comps_blended flags
20190726 KZ: added is_converged()
20190721 KZ: reverted to ininstance() for class type check in
set_downstream_main()/_side()
20190715 KZ: added self._type and get_type()
20190707 KZ: fixed blend_inlet_comps()
20190619 KZ: updated branch flow balance
20190618 KZ: further improve flow balance.
20190617 KZ: improve flow balance.
20190609 KZ: further revised splitter to be the "base" of stream objs.
20190604 KZ: migrating the base to poopy_lab_obj
20190209 KZ: standardized import
Mar 02, 2019 KZ: added check on side flow and sidestream_flow_defined()
Feb 09, 2019 KZ: revised set_downstream_side()
Jul 30, 2017 KZ: pythonic style
Mar 21, 2017 KZ: Migrated to Python3
Jun 24, 2015 KZ: Updated SetDownstreamSideUnit() to differential main/side
Jun 23, 2015 KZ: Rewrote sidestream to eliminate Branch class
Jun 18, 2015 KZ: Removed _PreFix and _Group status and
Set(Get)PreFixStatus(), Set(Get)GroupStatus;
Renamed _Done to _Visited and SetAs(Is)Done() to
SetAs(Is)Visited()
Mar 20, 2015 KZ: Added _PreFix, _Group, _Done status and
Set(Get)PreFixStatus(), Set(Get)GroupStatus,
SetAs(Is)Done().
Nov 18, 2014 KZ: renamed "SideStream" into "Sidestream";
Added _SidestreamConnected and SideOutletConnected()
Sep 26, 2014 KZ: fixed pipe.Pipe.__init__
Apr 27, 2014 KZ: Change the sidestream class from Influent() to Sidestream()
Apr 18, 2014 KZ: Rewrite definition based on the new class system structure
Dec 25, 2013 KZ: commented out the BlendComponent() function in ReceiveFrom()
Dec 07, 2013
pipe class:
------------------------------------------------------------------------------
20191122 KZ: updated documentation
20191003 KZ: revised for the run time flow balance steps
20190704 KZ: corrected initiation error.
20190715 KZ: added self._type
20190619 KZ: revised as per the splitter update.
20190618 KZ: added flow source flags defaults
20190609 KZ: fully migrated to the new base
20190604 KZ: migrating to the new base (poopy_lab_obj)
20190209 KZ: standardized import
Jan 12, 2019 KZ: resume and cleaned up
Jul 28, 2017 KZ: made it more pythonic
Mar 21, 2017 KZ: Migrated to Python3
Jun 24, 2015 KZ: Updated AddUpstreamUnit() to differential main/side
Jun 16, 2015 KZ: Removed _PreFix, _Group status and
Set(Get)PreFixStatus(), Set(Get)GroupStatus.
Renamed _Done to _visited, SetAs(Is)Visited() to
SetAs(Is)Visited()
Mar 20, 2015 KZ: Added _PreFix, _Group, _Done status and
Set(Get)PreFixStatus(), Set(Get)GroupStatus,
SetAs(Is)Done().
Nov 24, 2014 KZ: revised RemoveUpstreamUnit() to be able to remove units
with sidestream
Nov 23, 2014 KZ: revised RemoveUpstreamUnit() to check availability to the
upstream unit specified
Nov 12, 2014 KZ: added: _has_discharger and _MainOutletConnected flags;
UpstreamConnected() and MainOutletConnected() functions
Sep 26, 2014 KZ: removed test code
Jun 29, 2014 KZ: Added GetXXX() definitions for solids and COD summary.
Mar 15, 2014 KZ: AddUpstreamUnit(), RemoveUpstreamUnit(), and
SetDownstreamMainUnit() begin here
Mar 08, 2014 KZ: Rewrite according to the new class structure
Dec 07, 2013 Kai Zhang
influent class:
------------------------------------------------------------------------------
20191122 KZ: updated documentation
20191011 KZ: set _converged to True (always), fixed flow balance bug
20191003 KZ: revised for the run time flow balance steps
20190920 KZ: added bypass for assign_intial_guess()
20190911 KZ: rearranged inf component to match model matrix
20190715 KZ: added self._type
20190704 KZ: corrected initiation error.
20190619 KZ: updated as per the splitter update.
20190618 KZ: updated along with the splitter revision.
20190611 KZ: migrated to poopy_lab_obj as base and pipe as parent
20190609 KZ: migrating to poopy_lab_obj as base, and pipe as parent.
20190209 KZ: standardized import
Mar 15, 2019 KZ: _outlet --> _main_outlet
July 31, 2017 KZ: Made it more pythonic and changed to python3.
June 16, 2015 KZ: Removed _prefix, _group status and
Set(Get)PreFixStatus(), Set(Get)GroupStatus;
Renamed _Done to _visited, SetAs(Is)Done() to
SetAs(Is)Visited().
March 20, 2015 KZ: Added _prefix, _group, _Done status and
Set(Get)PreFixStatus(), Set(Get)GroupStatus,
SetAs(Is)Done().
November 18, 2014 KZ: Added UpstreamConnected() and set to True
November 12, 2014 KZ: added _main_outlet_connected flag
and MainOutletConnected() function
October 19, 2014 KZ: removed test code
March 15, 2014: KZ: redefined for the new class structure.
December 07, 2013 Kai Zhang: first draft
effluent class:
------------------------------------------------------------------------------
20191122 KZ: updated documentation
20191011 KZ: fixed flow balance bugs
20191003 KZ: revised for the run time flow balance steps
20190726 KZ: added discharge() unique to effluent.
20190715 KZ: added self._type
20190619 KZ: revised according to the splitter update
20190611 KZ: migrated to poopy_lab_obj as base and pipe as parent.
20190209 KZ: standardized import
Jul 30, 2017 KZ: Made it more pythonic.
Mar 21, 2017 KZ: Migrated to Python3
Sep 26, 2014 KZ: removed test code
July 2, 2014 KZ: change base class to Pipe.
June 29, 2014 KZ: removed Convert() that converts model parameters for
user parameters
December 25, 2013 KZ: commented out the BlendComponent() function in
ReceiveFrom()
December 17, 2013 KZ: Added _PrevComp[0..12] to store state variables from
previous iteration
December 07, 2013 Kai Zhang
WAS class:
------------------------------------------------------------------------------
20191122 KZ: updated documentation
20191016 KZ: screened out WAS flow < 0
20191003 KZ: revised for the run time flow balance steps
20190809 KZ: added effluent solids in set_WAS_flow()
20190726 KZ: added discharge() to match the add. of is_converged()
20190715 KZ: added self._type
20190629 KZ: removed inform_SRT_controller()
20190612 KZ: migrated to using pipe as parent.
20190209 KZ: standardized import
Jul 30, 2017 KZ: made code more pythonic
Mar 21, 2017 KZ: Migrated to Python3
Sep 26, 2014 KZ: Change inheritance back from Splitter to Effluent
Aug 25, 2014 KZ: Added InformSRTController function.
Aug 23, 2014 KZ: Changed its inheritance to Effluent;
Added variables and functions for WAS Flow calculation
December 06, 2013 Kai Zhang: Initial design
final_clarifier class:
------------------------------------------------------------------------------
20191122 KZ: updated documentation
20191029 KZ: revised warning message about underflow TSS
20191022 KZ: cleaned up
20191013 KZ: fixed bug in solids split calc.
20191003 KZ: revised tss balance to prepare for flow balance.
20190916 KZ: updated to match asm1 matrix (component index)
20190726 KZ: revised discharge() to match the add. of is_converged()
20190612 KZ: migrated to new base
20190715 KZ: added self._type
20190209 KZ: standardized import
July 30, 2017 KZ: made it more pythonic.
March 21, 2017 KZ: Migrated to Python3
May 26, 2014 KZ: Changed base class from Base to Splitter
July 11, 2013 KZ: Initial commit
asm_reactor class:
------------------------------------------------------------------------------
20191122 KZ: updated documentation
20191024 KZ: added Runge-Kutta 4 method to integrate()
20191022 KZ: corrected DO acceptance criteria in set_model_condition()
20190915 KZ: start to get reasonable integration results. need more testing
20190911 KZ: got results from integrate()
20190905 KZ: started adding integrate()
20190813 KZ: fixed discharge() side outlet; fixed flow into
estimate_current_state()
20190812 KZ: corrected a few params in solver func.
20190726 KZ: revised to match the is_converged()
20190715 KZ: added self._type
20190612 KZ: migrated to match the new base (poopy_lab_obj) and new "pipe"
20190209 KZ: standardized import
July 30, 2017 KZ: more pythonic style
March 21, 2017 KZ: Migrated to Python3
May 26, 2014 KZ: Updated Definition
December 17, 2013 KZ: Added/revised blend_components() definition.
December 07, 2013 Kai Zhang
ASM_1 class:
------------------------------------------------------------------------------
20191127 KZ: fixed typos in self._params and _stoichs
20191024 KZ: revised _dCdt() to facilitate Runge-Kutta method
20191022 KZ: corresponding changes to asm_reactor in its
set_model_condition()
20190917 KZ: adjusted all kinetic/stoichs/Arrhenius to vals on IWA report
20190916 KZ: corrected temperature effect
20190915 KZ: zero-ed out S_DO's rate to simplify
20190911 KZ: revised _dCdt()
20190905 KZ: re-org model components to match .csv model template
20190827 KZ: added integrate()
20190209 KZ: standardized import
20190812 KZ: fixed typos
Dec 13, 2017 KZ: Fixed a few mismatched parentheses
Jul 20, 2017 KZ: Changed to pythonic style
Mar 21, 2017 KZ: Changed to Python3
Jun 07, 2014 KZ: Spelling Fix
utils\pfd.py:
------------------------------------------------------------------------------
2019-08-08 KZ: added check_global_cnvg()
2019-07-26 KZ: added get_all_units() to group specific types of units
2019-07-16 KZ: replaced all isinstance() with get_type() wherever we can
2019-03-17 KZ: revised _check_WAS()
2019-03-17 KZ: revised _check_sidestream_flows(); _find_main_only_prefix()
2019-03-03 KZ: added PFD checking fucntions
2019-02-12 KZ: init
utils\run.py:
------------------------------------------------------------------------------
20191016 KZ: fixed _backward() so that updated flows can be passed onto
upstream units
20191011 KZ: added forward flow setting functions
20191003 KZ: added back tracing flow setting functions
20190920 KZ: moved concentration output here and added BFS traverse func
20190911 KZ: eliminated divided_by_zero errors by assigning init_X_S
20190903 KZ: corrected b_H & b_A in initial_guess()
20190828 KZ: init
utils\datatypes.py:
20191122 KZ: updated documentation