Skip to content

RMS-related errors when running RMG-Py examples #277

Description

@jonwzheng

See ReactionMechanismGenerator/RMG-Py#2824 for full discussion.

Running the RMG-Py examples leads to Julia-related errors:

  • nox_transitory_edge
    • Need to modify by allowing singlet O2 (or just git checkout fix/examples)
    • Then, you run into error: Error: Model core reactions: Error: Too many to print in detail File "/home/jonzheng/greengroup/RMG/RMG-Py/rmgpy/rmg/reactionmechanismsimulator_reactors.py", line 624, in generate_reactor react = Main.Reactor(domain, y0, (0.0, self.tf), p=p) File "/home/jonzheng/.julia/packages/PythonCall/L4cjh/src/JlWrap/any.jl", line 262, in __call__ return self._jl_callmethod($(pyjl_methodnum(pyjlany_call)), args, kwargs) juliacall.JuliaError: MethodError: no method matching +(::Vector{Float64}, ::Float64) For element-wise addition, use broadcasting with dot syntax: array .+ scalar
  • SEI_pure_ACN and SEI_pure_EC
    • Run into this error: rmgpy/rmg/main.py", line 990, in execute for val in item.reactants + item.products: File "/home/jonzheng/.julia/packages/PythonCall/L4cjh/src/JlWrap/any.jl", line 288, in __add__ return self._jl_callmethod($(pyjl_methodnum(pyjlany_op(+))), other) juliacall.JuliaError: DimensionMismatch: dimensions must match: a has dims (Base.OneTo(2),), b has dims (Base.OneTo(1),), mismatch at 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions