question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Inconsistency with 'sfp' SystemBlueprint object and o.r.core.sfp

See original GitHub issue

The problem/observation

After both objects have been constructed, when r is returned the sfp object seems to be missing.

  • r.sfp is not a thing…
  • r.core.sfp is an “AssemblyList object: Spent Fuel Pool”, but contains no assemblies.

Then in loadTestReactor, we put stuff into r.core.sfp https://github.com/terrapower/armi/blob/55766354067d8b1cffed02a48d36cd5d59c10718/armi/reactor/tests/test_reactors.py#L188-L191

  • So, now we have these 10 assemblies in r.core.sfp, but the original 4 assemblies from the input are no where to be found (at least I can’t find them).

Impacts

For the most part, I don’t think this a huge deal (otherwise we would have found it by now). But, it does raise an issue if a user assigns assemblies in the SFP via the inputs or wants to see what assemblies are in the sfp on a database load.

  • Since there isn’t a registered r.sfp object and r.core.sfp doesn’t get written to the database (at least in my tests it doesn’t), then there is no way to check what is actually in the sfp on a database load (either put in via a shuffle or initialized there via an input).

    • I imagine this is certainly something we’ll want to support. Knowing what is in the SFP feels important. Especially when we’re shuffling assemblies out of the core.
  • There is a disconnect between where ARMI stores SFP assemblies from inputs (in Core: sfp object) vs where it stashes them as a result of shuffling (in r.core.sfp).

  • This also wreaks havoc a bit on the global assem counter as it has been ticked to account for SFP assemblies, but they aren’t anywhere to be found. https://github.com/terrapower/armi/blob/55766354067d8b1cffed02a48d36cd5d59c10718/armi/bookkeeping/db/tests/test_database3.py#L331-L351

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:16 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
ntourancommented, Sep 15, 2022

SFP was around before the reactor could have child systems and is kind of shoe-horned in for transitional reasons. It’s supposed to end up being just another system alongside the core as a child of the reactor. And r.sfp might be useful as a convenient shortcut for that child, kind of like how r.core is a convenient shortcut for the core system.

We anticipate more systems like this being added to models for other non-core things, like pumps and heat exchangers, etc.

1reaction
kecklercommented, Sep 15, 2022

So the increased memory requirements that come with enabling this setting may not actually be worth much.

Well, I would disagree with this statement. Just because they aren’t written to the database doesn’t mean that the SFP assemblies can’t still be used during the run. In a non-restart run, they can definitely still be valuable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SFP+ compatibility issues? Here are 5 troubleshooting tips!
SFP+ compatibility issues? Here are 5 troubleshooting tips! · TIP 1: Check whether you're using SFP or SFP+ transceivers and slots · TIP...
Read more >
Troubleshoot and Maintain SFP Transceiver Modules - Cisco
This document describes how to deploy and troubleshoot Cisco Small Form-Factor Pluggable (SFP) Transceiver Modules in Cisco Catalyst ...
Read more >
How to identify plugged-in SFP module model, manufacturer ...
Summary: Identify or verifying SFP/SFP+ transceiver hardware details for hypervisor cli, such as; vendor, model, product code, transceiver type, ...
Read more >
SFP Transceiver: To Be or Not To Be? - FS Community
SFP Transceivers always fail to work because of non-standard operation. When this occurs, it may be a good idea to figure out the...
Read more >
SFP Transceivers Explained - Our Technology Planet
The SFP is also known as miniGBIC. GBIC is the Gigabit Interface Converter (another transceiver model) and since the SFP is smaller than...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found