You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/sofar-operation-modes.md
+23-20
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,5 @@
1
1
# Sofar Modes of Operation
2
2
3
-
WARNING: Work in progress, some of this information may be inaccurate. Use at your own risk
4
-
5
3
WARNING: most of the writeable parameters are written to EEPROM of the inverter after each modification. EEPROM has a limited (typically 100000) number of write cycles, so be careful that your automations do not modify these parameters too frequently.
6
4
7
5
The modes are controlled through "Charger Use Mode", where you can choose one of the following modes by simply selecting one of these values:
@@ -58,25 +56,20 @@ _TBD: Describe how to use Timing Mode with the Integration_
58
56
The passive mode is designed for controlling the inverter with external energy management systems and allows fine control over its operations. So as you are using Home Assistant, this might be the most interesting mode for you besides the default "Self Use" mode.
59
57
60
58
When the inverter is in "Passive Mode" it can be controlled through:
61
-
-**Passive: Desired Grid Power**: _Number in Watt_.
62
-
63
-
Set the desired power that is taken from the Grid. The system will try to achieve this level within the boundaries of the current consumption, the current production, and the boundaries set by the battery parameters below. Positive values indicate power flow from grid to the system (grid consumption). Negative values indicate power flow from system to the grid (feed-in).
64
-
65
-
-**Passive: Maximum Battery Power**: _Number in Watt_.
66
59
67
-
Limit the maximum battery power. Must be greater than or equal to "Passive Minimum Battery Power". Positive values indicate charging, negative values indicate discharging.
60
+
-**Passive: Desired Grid Power**: _Number in Watt_. Set the desired power that is taken from the Grid. The system will try to achieve this level within the boundaries of the current consumption, the current production, and the boundaries set by the battery parameters below. Positive values indicate power flow from grid to the system (grid consumption). Negative values indicate power flow from system to the grid (feed-in). Note that after changing the value in this field you have two minutes to commit the new value to the system using the button below. After two minutes the value will be restored to the value that's stored in the system.
68
61
69
-
-**Passive: Minimum Battery Power**: _Number in Watt_.
62
+
-**Passive: Maximum Battery Power**: _Number in Watt_. Limit the maximum battery power. Must be greater than or equal to "Passive Minimum Battery Power". Positive values indicate charging, negative values indicate discharging. Note that after changing the value in this field you have two minutes to commit the new value to the system using the button below. After two minutes the value will be restored to the value that's stored in the system.
70
63
71
-
Limit the minimum battery power. Must be less than or equal to "Passive Maximum Battery Power". Positive values indicate charging, negative values indicate discharging.
64
+
-**Passive: Minimum Battery Power**: _Number in Watt_. Limit the minimum battery power. Must be less than or equal to "Passive Maximum Battery Power". Positive values indicate charging, negative values indicate discharging. Note that after changing the value in this field you have two minutes to commit the new value to the system using the button below. After two minutes the value will be restored to the value that's stored in the system.
After changing "Desired Grid Power", "Maximum Battery Power", or "Minimum Battery Power" this button must be pressed to commit these values to the system. Without pressing this button after changing one or multiple of these values nothing will happen.
66
+
-**Passive: Update Battery Charge/Discharge**: _Button_. After changing "Desired Grid Power", "Maximum Battery Power", or "Minimum Battery Power" this button must be pressed to commit these values to the system. Without pressing this button after changing one or multiple of these values nothing will happen.
76
67
77
68
Let's have a look at some examples that illustrate how you can use these values to control the energy flow of your inverter:
78
69
79
-
### Same Operation like "Self Use"
70
+
### Examples
71
+
72
+
#### Same Operation like "Self Use"
80
73
81
74
You might rather want to just set the "Self Use" mode, but here is what it would look like it "Passive Mode":
82
75
@@ -90,7 +83,7 @@ Result:
90
83
91
84
System tries to pull no energy from the grid. If that is not possible it discharges the battery. In case there is enough PV generation it charges the battery or feeds-in the excess power to the grid. System operates just like in "Self Use".
92
85
93
-
### Limit Battery Charging Power
86
+
####Limit Battery Charging Power
94
87
95
88
You want to limit the charging power to 2kWh to allow more power for other consumers, e.g. charging your car. Useful for example, if you have a 3 phased charger, which requires at least 4.3 kW to start charging, however the PV production is not enough to cover battery charging and minimum power to start charging the car.
96
89
@@ -104,7 +97,7 @@ Result:
104
97
105
98
System operates like in "Self Use", however the battery is charged with a maximum of 2 kWh that can be consumed by other power consumers.
106
99
107
-
### Prevent Battery Discharging
100
+
####Prevent Battery Discharging
108
101
109
102
You want to charge the battery with the PV generation, but would like to prevent it from discharging. E.g. in the winter you want to enforce a full charge cycle over the course of multiple days with little power generation while avoiding pulling extra power from the grid for charging the battery.
110
103
@@ -120,7 +113,7 @@ Result:
120
113
- If PV generation is larger than consumption, battery will be charged with up to 10 kW. If your battery cannot be charged with 10 kW it will automatically be charged with the maximum amount of power the battery can handle (BTS-5K: 2.5 kWh per module). Excess power will be fed-in to the grid.
121
114
- If PV generation is less than consumption, power will be pulled from the grid. Battery will not be discharged.
122
115
123
-
### Force Battery Charging
116
+
####Force Battery Charging
124
117
125
118
You want to load the battery with a at least 3.5 kWh, but a maximum of 5 kWh.
126
119
@@ -136,7 +129,7 @@ Result:
136
129
137
130
Note: Battery management will override the minimum battery power of course. So when the battery is nearly full, charging power will still be reduced even below the value of "Minimum Battery Power" and when the battery is full, charging will be stopped.
138
131
139
-
### Provide Feed-in Power If Possible
132
+
####Provide Feed-in Power If Possible
140
133
141
134
As long as possible you want to prioritize feeding-in at least 1 kW to the grid. Maybe you have the luxury that you get a higher price for feeding in energy than consuming it.
142
135
@@ -149,9 +142,19 @@ Values:
149
142
Result:
150
143
151
144
- If PV generation is less than the sum of 1 kW and the consumption of all power consumers, the difference will be fed-in to the grid. Battery will not be discharged.
152
-
- If PV generation is more than the sum of 1kW and the consumption of all power consumers, 1 kW will be fed-in to the grid. Additional power will be used to charge the battery up to its maximum charging power. If PV generation exceeds the maximum charging power it will also be ged in
145
+
- If PV generation is more than the sum of 1kW and the consumption of all power consumers, 1 kW will be fed-in to the grid. Additional power will be used to charge the battery up to its maximum charging power. If PV generation exceeds the maximum charging power additional excess power will be fed-in to the grid.
146
+
147
+
**IMPORTANT:** Check your local regulations. Many grid operators do not permit feeding in power from the battery to the grid. If you set minimum battery power to negative values, while setting "Desired Grid Power" and/or "Maximum Battery Power" to negative values, you are potentially feeding in power from the battery. While this is technically possible in "Passive Mode" and actually works it might be prohibited by law.
148
+
149
+
### Timeout and Timeout Action
150
+
151
+
When in passive mode the inverter can perform a configurable action after it did not receive any communication for longer than a configurable time. This may not be important for automation, however if set to non-default values, it could lead to unexpected side effects.
152
+
153
+
-**Passive: Timeout**: _Default: Disabled_. The timeout after which the configured timeout action will be executed. Note that the displayed value in this field does not necessarily reflect the current value that is set in the inverter. See the entity "RO: Passive: Timeout" for checking the current value, which will be displayed in number of seconds, where 0 means 'Disabled'.
154
+
155
+
-**Passive: Timeout Action**: _Default: Force Standby". The timeout action that will be executed after which the configured timeout has passed. By default "Force Standby" is selected. "Return to Previous Mode" will set the previously selected "Charger Use Mode", i.e. if the inverter was switched from "Self Use" into "Passive Mode" the inverter will switch back to "Self Use" after not receiving any communication for the configured "Passive: Timeout". Note that the displayed value in this field does not necessarily reflect the current value that is set in the inverter. See the entity "RO: Passive: Timeout Action" for checking the current value.
153
156
154
-
**IMPORTANT:** Check your local regulations. Many grid operators do not permit feeding in power from the battery to the grid. If you set minimum battery power to negative values, while setting "Desired Grid Power" and/or "Maximum Battery Power" to negative values, you are potentially feeding in power from the battery. While this is possible in "Passive Mode" and actually works it might be prohibited by law.
157
+
-**Passive: Update Timeout**: _Button_. After chaning "Passive: Timeout" or "Passive: Timeout Action" this button must be pressed to commit the values to the system. Please allow the system several minutes to reflect the changes in the corresponding read-only values.
0 commit comments