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

d3ploy fails to record the capacity of mixers deployed with multiple inputs #273

Closed
robfairh opened this issue Jul 13, 2019 · 2 comments
Closed
Assignees

Comments

@robfairh
Copy link
Collaborator

robfairh commented Jul 13, 2019

d3ploy fails to record the capacity of a mixer deployed when it has multiple inputs for the same comodity.

In the following case, the mixer has two inputs (lwrpu and frpu) for Pu:

https://github.com/robfairh/transition-scenarios/blob/experimental6/input/eg01-eg29/d3ploy-simple2.xml

<facility>
    <name>frmixer</name>
    <config>
        <Mixer>
            <in_streams>
                <stream>
                    <info>
                        <mixing_ratio>0.129</mixing_ratio>
                        <buf_size>3e3</buf_size>
                    </info>
                    <commodities>
                        <item>
                            <commodity>lwrpu</commodity>
                            <pref>1.0</pref>
                        </item>
                        <item>
                            <commodity>frpu</commodity>
                            <pref>1.0</pref>
                        </item>
                    </commodities>
                </stream>
                <stream>
                    <info>
                        <mixing_ratio>0.714</mixing_ratio>
                        <buf_size>4e5</buf_size>
                    </info>
                    <commodities>
                        <item>
                            <commodity>lwru</commodity>
                            <pref>1.0</pref>
                        </item>
                        <item>
                            <commodity>fru</commodity>
                            <pref>1.0</pref>
                        </item>                    
                    </commodities>
                </stream>
                <stream>
                    <info>
                        <mixing_ratio>0.157</mixing_ratio>
                        <buf_size>1e5</buf_size>
                    </info>
                    <commodities>
                        <item>
                            <commodity>sourceout</commodity>
                            <pref>1.0</pref>
                        </item>
                    </commodities>
                </stream>
            </in_streams>
            <out_commod>mixerout</out_commod>
            <out_buf_size>1e10</out_buf_size>
            <throughput>1e7</throughput>
        </Mixer>
    </config>
</facility>

For this input the table timeseriescalc_capacitylwrpu is 0 for all timesteps even though there are multiple mixers deployed.

image

This issue can be closed when d3ploy is able to record the capacity of the mixers deployed.

@robfairh robfairh changed the title d3ploy fails to record the capacity of mixers deployed d3ploy fails to record the capacity of mixers deployed with multiple inputs Jul 13, 2019
@robfairh robfairh self-assigned this Jul 15, 2019
@robfairh
Copy link
Collaborator Author

When using the feature installed capacity, d3ploy records the capacity of the mixer.

@robfairh
Copy link
Collaborator Author

Solved by cyclus/cycamore#508

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