parameters
InputParameters describe different types of input parameters for the model. All parameters for a model are contained in a hierarchical map where successive keys can be retrieved using a dot-notation between the key elements.
Example
Suppose a model has two servers: server1 and server2. Each of the servers has an average service time and a number of resources. This can be codes using keys ‘server1.avg_serice_time’, ‘server1.nr_resources’, ‘server2.avg_serice_time’, ‘server2.nr_resources’. This means that the key ‘server1’ contains an InputParameterMap with an instance of InputParameterFloat for the service time, and InputParameterInt for the number of resources. Readers for the input parameter map can read the model parameters, e.g., from the screen, a web page, an Excel file, a properties file, or a JSON file.
Click below for the API of a specific input parameter type.
Classes
- InputParameter
- InputParameterMap
InputParameterMapInputParameterMap.__init__()InputParameterMap.valueInputParameterMap.set_value()InputParameterMap.add()InputParameterMap.get()InputParameterMap.remove()InputParameterMap.print_values()InputParameterMap.default_valueInputParameterMap.descriptionInputParameterMap.display_priorityInputParameterMap.extended_key()InputParameterMap.keyInputParameterMap.nameInputParameterMap.parentInputParameterMap.read_only
- InputParameterInt
InputParameterIntInputParameterInt.__init__()InputParameterInt.valueInputParameterInt.min_valueInputParameterInt.max_valueInputParameterInt.format_strInputParameterInt.set_value()InputParameterInt.default_valueInputParameterInt.descriptionInputParameterInt.display_priorityInputParameterInt.extended_key()InputParameterInt.keyInputParameterInt.nameInputParameterInt.parentInputParameterInt.read_only
- InputParameterFloat
InputParameterFloatInputParameterFloat.__init__()InputParameterFloat.valueInputParameterFloat.min_valueInputParameterFloat.max_valueInputParameterFloat.format_strInputParameterFloat.set_value()InputParameterFloat.default_valueInputParameterFloat.descriptionInputParameterFloat.display_priorityInputParameterFloat.extended_key()InputParameterFloat.keyInputParameterFloat.nameInputParameterFloat.parentInputParameterFloat.read_only
- InputParameterStr
InputParameterStrInputParameterStr.__init__()InputParameterStr.valueInputParameterStr.set_value()InputParameterStr.default_valueInputParameterStr.descriptionInputParameterStr.display_priorityInputParameterStr.extended_key()InputParameterStr.keyInputParameterStr.nameInputParameterStr.parentInputParameterStr.read_only
- InputParameterBool
InputParameterBoolInputParameterBool.__init__()InputParameterBool.valueInputParameterBool.set_value()InputParameterBool.default_valueInputParameterBool.descriptionInputParameterBool.display_priorityInputParameterBool.extended_key()InputParameterBool.keyInputParameterBool.nameInputParameterBool.parentInputParameterBool.read_only
- InputParameterQuantity
InputParameterQuantityInputParameterQuantity.__init__()InputParameterQuantity.valueInputParameterQuantity.min_siInputParameterQuantity.max_siInputParameterQuantity.format_strInputParameterQuantity.typeInputParameterQuantity.set_value()InputParameterQuantity.default_valueInputParameterQuantity.descriptionInputParameterQuantity.display_priorityInputParameterQuantity.extended_key()InputParameterQuantity.keyInputParameterQuantity.nameInputParameterQuantity.parentInputParameterQuantity.read_only
- InputParameterSelectionList
InputParameterSelectionListInputParameterSelectionList.__init__()InputParameterSelectionList.valueInputParameterSelectionList.optionsInputParameterSelectionList.set_value()InputParameterSelectionList.default_valueInputParameterSelectionList.descriptionInputParameterSelectionList.display_priorityInputParameterSelectionList.extended_key()InputParameterSelectionList.keyInputParameterSelectionList.nameInputParameterSelectionList.parentInputParameterSelectionList.read_only
- InputParameterUnit
InputParameterUnitInputParameterUnit.__init__()InputParameterUnit.default_valueInputParameterUnit.descriptionInputParameterUnit.display_priorityInputParameterUnit.extended_key()InputParameterUnit.keyInputParameterUnit.nameInputParameterUnit.optionsInputParameterUnit.parentInputParameterUnit.read_onlyInputParameterUnit.set_value()InputParameterUnit.unittypeInputParameterUnit.value