Hantao Cui

Results 48 comments of Hantao Cui

Thank you for the fix. Currently, I start Julia REPL from the VS Code plug-in. It slows the plot in Code gracefully. Maybe the segfault needs to be handled in...

> I'm not sure this should be closed. It would be reasonable for Plots to handle this segfault so that the user only sees an exception. That would definitely be...

This is probably a bug with Python 3.10. I'm using Python 3.11.6, and ```python >>> import importlib >>> importlib.util ``` I'm happy to make the change, and in the meantime,...

`idx` is meant to be unique. Otherwise, it's an inconsistency in input data. Not sure what went off, but with my fresh installation of ANDES, second case seems to work:...

The following is my result. It needs a fix. ``` >>> ss.PVD1.find_idx(keys='bus', values=[4]) [1] ```

https://github.com/CURENT/andes/blob/5ab784b75347a98d07c004e32d7c4b39d407ea2e/andes/core/model/modeldata.py#L322-L334 It can be fixed from here. It might introduces one change. The output shall always be a list, which has the same length as `values`. Each element in the...

Thanks! I know you are looking to implement a mechanism to handle offline devices by turning off connected devices. Its better to start the design with how you expect to...

Can you turn these descriptions into code which describes how you expect to use your design? That will also help you think about the design. The class API design is...

While I don't have the expertise to comment on the diagnosis, I recalled reading the SciML Small Grant project for separating OrdinaryDiffEq into subpackages for improving precompilation. I immediately felt...