Code Monkey home page Code Monkey logo

Comments (6)

TimoDiepers avatar TimoDiepers commented on August 23, 2024 1

Amounts fixed in 23ea70c

The problem was that we had to use the "unscaled" amounts from the original edge here, as we explode to new unit processes. In contrast, the amounts from the timeline are scaled to match the FU.

from timex.

TimoDiepers avatar TimoDiepers commented on August 23, 2024 1

Nvm, found the sum_inter_duplicates flag in bwp.create_datapackage()

from timex.

TimoDiepers avatar TimoDiepers commented on August 23, 2024 1

From the datapackage-creation-side, this should be fixed in b84644f
However, the results are still wrong. But I think the problem might be in the timestamps in the timeline df.

from timex.

TimoDiepers avatar TimoDiepers commented on August 23, 2024
  • Fixed amounts
  • Added tests

from timex.

TimoDiepers avatar TimoDiepers commented on August 23, 2024

Additional problem came to my attention:
The setting: A foreground node (H2) links to a background node (el. mix) via a TD.
image

What happens in our code atm is that we don't link from H2 to exploded versions of el-mix, but link directly to the different available version of this process in the background dbs via interpolation. However, if two of these interpolations point towards the same background process, the matrix entry we add gets overwritten each time.

I'm pretty sure I talked about this with @cmutel at the Autumn School and he said that the default behavior of Datapackage.add_persistent_vector is to add the values instead of overwriting them - which seems to not be the case.
@jakobsarthur do you happen to know if changing this behavior is possible? Going through Datapackage.add_persistent_vector() I couldn't find what we need..

from timex.

jakobsarthur avatar jakobsarthur commented on August 23, 2024

Great! I will check the timestamps of the timeline. Still working on that, also in issue #5.

from timex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.