Giter Site home page Giter Site logo

Comments (5)

itdaniher avatar itdaniher commented on July 25, 2024

edited with block quotes and a definition of DeltaPressure = 1

the crux of the issue is the size of the inductor (and probably to a lesser extent, the resistor) - 1E7 henries is uh probably the size of your average house, with 1E3 henries as the approximate inductance of a 3 gigawatt mains transformer...

From > https://en.wikipedia.org/wiki/Orders_of_magnitude_(inductance)

from ahkab.

moredroplets avatar moredroplets commented on July 25, 2024

@itdaniher I need some time to figure out how to scale down the equivalent inductance and resistance for a microfluidic device. As such a system is almost always highly nonlinear, I think it would be very hard to do so. Is that possible to make the library F64 internally if it's F32? Thanks for your help.

from ahkab.

itdaniher avatar itdaniher commented on July 25, 2024

After checking, it's all using Python's default float type, with no specified width as one might expect were it using numpy datatypes internally. This means it's already F64, which suggests the issue is not as simple as using a datatype with insufficient precision.

from ahkab.

moredroplets avatar moredroplets commented on July 25, 2024

One way to get around this is to change the unit system from "kg, meter, second" to something else, e.g., "g, um, second", so that the fluidic equivalent inductance, resistance, and capacitance values are more in line with what Ahkab can handle. This should work without changing anything in this library.

from ahkab.

itdaniher avatar itdaniher commented on July 25, 2024

Sounds like something of a fix. Hopefully enough to get let you make forward progress in your work!

from ahkab.

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.