def METHOD_NAME(openda_configurable, input_dir, config_xml):
    """
    Initialise an OpenDA configurable (e.g. ModelFactory, StochObserver)
    :param openda_configurable: OpenDA object implementing IConfigurable
    :param input_dir: Working directory/input directory
    :param config_xml: Configuration file
    :return:
    """
    # Translate the input strings to java objects (File and String array)
    j_input_dir = gateway.jvm.java.io.File(input_dir)
    string_class = gateway.jvm.String
    j_arguments = gateway.new_array(string_class, 1)
    j_arguments[0] = config_xml
    # Initialize ..
    openda_configurable.initialize(j_input_dir, j_arguments)