Skip to content

Production dispatch method "match" not working #431

@KOSHIMP

Description

@KOSHIMP

Describe the bug

I tried to run my model with "match" as the production dispatch method but I got the following error message:
IndexError: dimension coordinate 'region' conflicts between indexed and indexing objects:
<xarray.DataArray 'region' (region: 1)>
array(['R1'], dtype=object)
Coordinates:

  • region (region) object 'R1'
    vs.
    <xarray.Variable ()>
    array('R1', dtype='<U2')

To Reproduce

To start, I used the demonstration-1 case study here
In the ".TOML" file, I only changed the production dispatch method from "share" to "match". (Note that when I use other dispatch methods such as coted, and maximum, the model runs successfully)

Screenshots

image

Context

Demo-match.zip

  • Operating system: Windows 10
  • MUSE version: v1.1.0
  • Installation method: pip (with Anaconda)
  • Python version: 3.9.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions