Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Micro-outputs in a stage_block #30

Open
GuiAll opened this issue Oct 1, 2024 · 0 comments
Open

Micro-outputs in a stage_block #30

GuiAll opened this issue Oct 1, 2024 · 0 comments

Comments

@GuiAll
Copy link

GuiAll commented Oct 1, 2024

Greetings

I am building a model featuring a stage_block.

As I attempt to print heterogenous outputs (or "internals"), I encounter the following error

`---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[235], line 3
1 prod_stage = Continuous1D(backward=['V', 'Vk'], policy='k_a', f=dcem,
2 name='prodstage', hetoutputs=[assign_active_k, investment_cost_array, fcf])
----> 3 print(f'Micro outputs: {prod_stage.internals}')

AttributeError: 'Continuous1D' object has no attribute 'internals'`

Is it still posible to call micro-output when we use stage_blocks, in order to obtain the distribution of some outputs (meaning the above-mentionned issue is a reporting issue) ? Or internals do not exist at all in stage_blocks (in which case is there a workaround available) ?

Thank you in advance for the clarification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant