Giter Club home page Giter Club logo

Comments (5)

yoelcortes avatar yoelcortes commented on August 28, 2024

Thanks for catching this! This is definitely a bug. It should be fixed tomorrow. I'll also change the Junction class to have an ID (just like every other unit), so it can be easier to find.

I just added the M602 ID to the unit in the biorefineries, I'll wait for your next post on the missing IDs before I update the biorefineries. :)

from biosteam.

yoelcortes avatar yoelcortes commented on August 28, 2024

Ok, bug is fixed in biosteam v1.0.7. I am closing this issue.

from biosteam.

yalinli2 avatar yalinli2 commented on August 28, 2024

I'm not sure if the problem has been fixed, it's still not working on my end, I've checked that I have the v1.0.7.

Even example given in tutorial is not working

from biosteam import *
>>> species = Species('Water')
>>> species.Sugar = compounds.Substance('Sugar')
>>> Stream.species = species
>>> s1 = Stream('s1', Water=20)
>>> Stream.species = Species('Water', 'Ethanol')
>>> s2 = Stream('s2') # Note that s2 and s1 have different Species objects
>>> J1 = units.Junction('J1', s1, s2)
#I added the ID since Junction has ID now
>>> J1.simulate()
>>> J1.show()

Here's what I got:
Junction

Can you take another look and if that's the case on your end as well? Thanks!

from biosteam.

yoelcortes avatar yoelcortes commented on August 28, 2024

Ahh, I introduced another bug with the last update which made it fail in very particular scenarios. Could you make sure if biosteam==1.0.8 works for you? Thanks!

from biosteam.

yalinli2 avatar yalinli2 commented on August 28, 2024

Yep it's working!!! 🎉

Though when I tried to update biosteam, I was kindly reminded that biorefineries needed v1.0.7. I ignored it, and gladly found that biorefineries was still working after the update. 😉

biorefineries_requirements

from biosteam.

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.