Skip to content

Update conversion electrode and non-lithiated sulfur input file#79

Open
korffdm wants to merge 6 commits intocoresresearch:mainfrom
korffdm:update-cores
Open

Update conversion electrode and non-lithiated sulfur input file#79
korffdm wants to merge 6 commits intocoresresearch:mainfrom
korffdm:update-cores

Conversation

@korffdm
Copy link
Contributor

@korffdm korffdm commented Apr 10, 2023

No description provided.

Copy link
Contributor

@decaluwe decaluwe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @korffdm -- excited to get these capabilities folded in!

I have left a bunch of comments, mostly related to generalizing this a little bit more (i.e. removing references to cathode, sulfur, etc). I haven't fully finished my run through, but thought it worth posting this first round. Also, take a look at the version already on GitHub--I think there are a few tidbits you could use, particularly related to capacity calculation.

Thanks--looking really good!

"""

def __init__(self, input_file, inputs, sep_inputs, counter_inputs,
def __init__(self, input_file, inputs, sep_inputs, an_inputs,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if/how an_inputs gets used, but again - we need to generalize this. I previously had counter_inputs, which is a little better ("counter" = "other," I guess), but still not great. Any thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't currently get used in conversion_electrode.py, but it could depending on the capacity calculation (capacity due to material/species in electrolyte). I was going to ask about that in our next meeting. I see the issue of calling it explicitly an_inputs though. I think if we change it back to using the 'counter' terminology, possibly add counter_ed_inputs so that it's a little more clear?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me - thanks!


m_S_el = eps_el_0*inputs['thickness']*W_S*np.dot(n_S_atoms, self.C_k_0)

self.capacity = 1675*0.01952351
Copy link
Contributor

@decaluwe decaluwe Apr 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version of the code in main has a more generalized capacity calculation that I think you could copy, to replace this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I got the generalization figured out. I do have an assumption right now that there's only two conversion phases. I think to do more we would need one or two more input fields in the yaml, like an end_product_species: Li2S(s) maybe?

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

Successfully merging this pull request may close these issues.

2 participants