ParaSol Code Functions¶
ParaSol (Parametric Solutions) is a python framework in which mathematical models can be investigated parametrically.
Parasol enables easy optimization, sensitivity study, and visualization. The math model can be as big or as small as desired. Output is generated in plain text, HTML, and native Microsoft Suite files (Excel, Word and PowerPoint).
A problem is defined by input and output parameters. Results are presented in a manner that conveys insight into system trends and characteristics. The process of performing an analysis results in an ample assortment of graphs, charts, and images that display system sensitivities, variations, and characteristics. Barriers to creating these displays have been reduced to single commands in order to facilitate their use.
Parasol has been designed to run under Microsoft Windows. In that environment, creating a new project and running cases consists of the following steps:
ParaSol Copyright (C) 2009-2016 Charlie Taylor
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
-
class
parasol.parasol_main.
ModifiedOptionParser
(usage=None, option_list=None, option_class=<class 'optparse.Option'>, version=None, conflict_handler='error', description=None, formatter=None, add_help_option=True, prog=None, epilog=None)¶ -
error
(msg : string)¶ Print a usage message incorporating ‘msg’ to stderr and exit. If you override this in a subclass, it should not return – it should either exit or raise an exception.
-
-
exception
parasol.parasol_main.
OptionParsingError
(msg)¶
-
exception
parasol.parasol_main.
OptionParsingExit
(status, msg)¶
-
class
parasol.parasol_main.
ParametricSoln
(subtaskName='simple model', taskName='System Study', controlRoutine=None, author='', constraintTolerance=0.001, probDesc=None, printFilePaths=False)¶ ParaSol (Parametric Solutions) is a python framework in which mathematical models can be investigated parametrically.
-
NumEvaluations
= None¶ count number of times the evaluate method is called
-
constraintList
= None¶ Optimize.optimize might initialize
-
controlRoutine
= None¶ will be called to set component design params
-
desVarDict
= None¶ dictionary of design Variables in system
-
feasibleVarList
= None¶ list of Feasible Pairs
-
getDesVars
(*dvItems)¶ handle either single design var or list of design vars
-
minmaxVarList
= None¶ list of MinMax Pairs
-
optimizeHistoryL
= None¶ holds any optimization summary info as [title, summStr]
-
resultVarDict
= None¶ dict of result variables in system
-