GithubHelp home page GithubHelp logo

bayerluetticke's People

Contributors

alanlujan91 avatar camriddell avatar llorracc avatar mriduls avatar sbenthall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bayerluetticke's Issues

BayerLuetticke_wrapper.py fails, solve not implemented for BayerLuettickeAgent

while executing ipython BayerLuetticke_wrapper.py, I got the following error

Exception: Model instance does not have a solution stored. To simulate, it is necessary to run the `solve()` method of the class first.

I called the solve() method before simulate and it resulted in

AttributeError: 'BayerLuettickeAgent' object has no attribute 'cycles'

Dimensionality problem with FluctuationsTwoAsset.ipynb

Hi all,

I can't run TwoAsset.ipynb because there is a problem in FluctuationsTwoAsset.ipynb (I think in the SGU_solver function). The invertibility condition is violated and the the command output is this:

SGU_solver
The number of states is 62
Elapsed time is 1.2540298000000005 seconds.
Use Schmitt-Grohe-Uribe algorithm
AE[xprime uprime] = B[x u]
A = (dF/dxprimek dF/duprime), B = -(dF/dx dF/du)
Computing Jacobian: F1 = DF/DXprime F3 = DF/DX
Total number of parallel blocks: 11.
Block number: 0 done.
Block number: 1 done.
Block number: 2 done.
Block number: 3 done.
Block number: 4 done.
Block number: 5 done.
Block number: 6 done.
Block number: 7 done.
Block number: 8 done.
Block number: 9 done.
Block number: 10 done.
Elapsed time is 261.0893924 seconds.
Computing Jacobian F2 - DF/DYprime
Total number of parallel blocks: 12.
Block number: 0 done.
Block number: 1 done.
Block number: 2 done.
Block number: 3 done.
Block number: 4 done.
Block number: 5 done.
Block number: 6 done.
Block number: 7 done.
Block number: 8 done.
Block number: 9 done.
Block number: 10 done.
Block number: 11 done.
Elapsed time is 536.816385 seconds.
nk is equal to 59
Warning: no local equilibrium exists, critical eigenvalue shifted to: 0.9777074908967675
Warning: invertibility condition violated

I haven't touched/changed nothing in the original code, but I'm using the sequential implementation. If I use the other function, my notebook just run and run, with no answer or output... I'm just trying to understand the code to use it for my master degree thesis, but I can't understand why this is happening (notice that nk, which must be equal to the number of states -62-, is lower -59-).

Hope someone can help me. Thanks in advance!

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.