daeSimulationExplorer
(qt_app, simulation, **kwargs)[source]¶Bases: PyQt5.QtWidgets.QDialog
jsonRuntimeSettings
¶runtimeSettings
¶daeSimulationInspector
(simulation)[source]¶Bases: object
categoryActiveStates
= '___ACTIVE_STATES___'¶categoryDOFs
= '___DOFS___'¶categoryDomains
= '___DOMAINS___'¶categoryInitialConditions
= '___INITIAL_CONDITIONS___'¶categoryParameters
= '___PARAMETERS___'¶categoryVariablesToReport
= '___VARIABLES_TO_REPORT___'¶daeWebService () |
The base class for web applications/web services. |
daeSimulationWebService () |
|
daeFMI2_CoS_WebService () |
NoLoggingWSGIRequestHandler
(request, client_address, server)[source]¶Bases: wsgiref.simple_server.WSGIRequestHandler
Request handler that suppresses logging to the stderr.
daeWebService
[source]¶Bases: object
The base class for web applications/web services. Performs the low level tasks such as parsing the query to get its arguments and sending responses with results to the clients.
getQueryArguments
(environ)[source]¶Returns the query arguments’ values as a dictionary object. Can process both GET and POST requests (double check this).
jsonBadRequest
(reason, start_response, simulationID)[source]¶Returns the bad request error status to the client. The argument reason is a string with the exception description. It is not a fatal error, thus DO NOT delete the current object identified by its simulationID.
jsonError
(reason, start_response, simulationID)[source]¶Returns the error status to the client. The argument reason is a string with the exception description. In case of errors always deletes the current object identified by its simulationID.
keepRunning
()[source]¶Server will stop if at least one request has been processed and no activeObjects exist (all active objects finished with the simulation). Therefore, the server can serve multiple clients but will shutdown after all objects freed their resources and the number of active objects goes to zero.
fmi2Component
(simulation, instanceName, guid)[source]¶Bases: object
fmi2Component_ws
(webServiceName='daetools_fmi_ws', server='127.0.0.1', port=8002)[source]¶Bases: daetools.dae_simulator.web_service_client.daeWebServiceClient
daeWebService |
|
daeDataReporter |
|
daeDAESolver |
|
daeSimulation |
|
daeFMI2Simulation |
daeWebService
(address, port, webServiceName, method)¶ServerStatus
¶ClearServer
()¶onSuccess
(httpRequest, path, args)¶onError
(httpRequest, path, args)¶onConnectionFailure
(path, error)¶getResponse
(httpRequest)¶createHTTPRequest
()¶executeFun
(functionName, parameters)¶daeSimulation
(webService)¶LoadSimulation
(pythonFile, loadCallable, args)¶LoadTutorial
(tutorialName)¶LoadSimulationByName
(simulationName, args)¶AvailableSimulations
()¶Finalize
()¶ModelInfo
¶Name
¶DataReporter
¶DAESolver
¶CurrentTime
¶TimeHorizon
¶ReportingInterval
¶Run
()¶SolveInitial
()¶Reinitialize
()¶Reset
()¶ReportData
()¶Integrate
(stopAtDiscontinuity, reportDataAroundDiscontinuities)¶IntegrateForTimeInterval
(timeInterval, stopAtDiscontinuity, reportDataAroundDiscontinuities)¶IntegrateUntilTime
(time, stopAtDiscontinuity, reportDataAroundDiscontinuities)¶GetParameterValue
(name)¶GetVariableValue
(name)¶GetActiveState
(stnName)¶SetParameterValue
(name, value)¶ReAssignValue
(name, value)¶ReSetInitialCondition
(name, value)¶SetActiveState
(stnName, activeState)¶create_daetools_ws
()¶daeFMI2Simulation
(webService)¶fmi2Instantiate
(instanceName, guid, resourceLocation)¶fmi2Terminate
()¶fmi2FreeInstance
()¶fmi2SetupExperiment
(toleranceDefined, tolerance, startTime, stopTimeDefined, stopTime)¶fmi2EnterInitializationMode
()¶fmi2ExitInitializationMode
()¶fmi2Reset
()¶fmi2DoStep
(currentCommunicationPoint, communicationStepSize, noSetFMUStatePriorToCurrentPoint)¶fmi2CancelStep
()¶fmi2GetReal
(valReferences)¶fmi2SetReal
(valReferences, values)¶fmi2GetString
(valReferences)¶fmi2SetString
(valReferences, values)¶fmi2GetBoolean
(valReferences)¶fmi2SetBoolean
(valReferences, values)¶fmi2GetInteger
(valReferences)¶fmi2SetInteger
(valReferences, values)¶