Sorry, I didnot save the script.
The calculation of the first set of New Calculator and Initial State is normal, Left Electrode Calculation, Right Electrode Calculation and then Device DFT Calculation. And all of them are converged. When beginning with the second set of New Calculator and Initial State, I got the error message.
Traceback (most recent call last):
File "c:\users\xiaoteng\appdata\local\temp\5597627426442390.py", line 519, in <module>
initial_state=old_calculation,
File ".\zipdir\NL\CommonConcepts\Configurations\DeviceConfiguration.py", line 496, in setCalculator
NL.ComputerScienceUtilities.Exceptions.NLValueError: The initial state must have the same spin type as the new configuration.
+------------------------------------------------------------------------------+
| NanoLanguageScript execution finished
I used the 2014.3 version.
The problem maybe lying in the spin type. Can the initial state of the first set be set as 0? I tried
the band struture with soc, the initial state of the first set being 1, and finally got the right result.