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
<p>Witht he coming arrival of the end of Windows10, I installed <a href="https://omarchy.org/">Omarchy</a> on one my <a href="https://www.bee-link.com/products/beelink-mini-s12-n95">Beelink MiniS12 N95</a>, fully expecting just to play with it and revert back to Windows11 on the machine. Win11 was slow on the machine, but a decent cheap desktop to have connected to a screen. <em>Omarchy</em> on the Beelink, even on the tiny hardware, has been absolutely flying. To the point that it's now my main desktop for everything right now.</p>
16
+
<p>One thing I needed to do is to handle the brightness of the screen, from the command line, so I could toggle the screen brightness from the command line. I discovered I could use <code>ddcutil</code> which I installed using the package manager on Omarchy.</p>
17
+
<pre><code>sudo ddcutil detect
18
+
Display 1
19
+
I2C bus: /dev/i2c-0
20
+
DRM_connector: card1-HDMI-A-2
21
+
EDID synopsis:
22
+
Mfg id: BNQ - UNK
23
+
Model: BenQ EL2870U
24
+
Product code: 31049 (0x7949)
25
+
Serial number: 58M02252SL0
26
+
Binary serial number: 21573 (0x00005445)
27
+
Manufacture year: 2021, Week: 34
28
+
VCP version: 2.2
29
+
</code></pre>
30
+
<p>My screen is connected by HDMI, do I was able to get the information on it.</p>
<p>So I didn't want to sudo all the time for my screen display information, I added my user the control of the i2c bus. This could be a security weakening, there's other ways to do it, but for my case it's fine.</p>
34
+
<pre><code>~ ❯ ddcutil detect
35
+
Display 1
36
+
I2C bus: /dev/i2c-0
37
+
DRM_connector: card1-HDMI-A-2
38
+
EDID synopsis:
39
+
Mfg id: BNQ - UNK
40
+
Model: BenQ EL2870U
41
+
Product code: 31049 (0x7949)
42
+
Serial number: 58M02252SL0
43
+
Binary serial number: 21573 (0x00005445)
44
+
Manufacture year: 2021, Week: 34
45
+
VCP version: 2.2
46
+
</code></pre>
47
+
<p>Then getting and setting the brightness was done with the following commands: <code>ddcutil getvcp 10</code> and <code>ddcutil setvcp 10 20</code></p>
48
+
<pre><code>~ ❯ ddcutil getvcp 10
49
+
VCP code 0x10 (Brightness ): current value = 40, max value = 100
50
+
51
+
~ ❯ ddcutil setvcp 10 20
52
+
</code></pre>
53
+
<p>To get a listing of what codes the screen supports, you can use <code>ddcutil capabilities</code>.</p>
05: Max vertical image with aspect ratio distortion
104
+
0c: Unrecognized value
105
+
10: Unrecognized value
106
+
11: Unrecognized value
107
+
13: Unrecognized value
108
+
14: Unrecognized value
109
+
15: Unrecognized value
110
+
16: Unrecognized value
111
+
17: Unrecognized value
112
+
Feature: 87 (Sharpness)
113
+
Feature: 8D (Audio mute/Screen blank)
114
+
Values: 01 02 (interpretation unavailable)
115
+
Feature: AC (Horizontal frequency)
116
+
Feature: AE (Vertical frequency)
117
+
Feature: B2 (Flat panel sub-pixel layout)
118
+
Feature: B6 (Display technology type)
119
+
Feature: C0 (Display usage time)
120
+
Feature: C6 (Application enable key)
121
+
Feature: C8 (Display controller type)
122
+
Feature: C9 (Display firmware level)
123
+
Feature: CA (OSD/Button Control)
124
+
Values:
125
+
01: OSD disabled, button events enabled
126
+
02: OSD enabled, button events enabled
127
+
Feature: CC (OSD Language)
128
+
Values:
129
+
01: Chinese (traditional, Hantai)
130
+
02: English
131
+
03: French
132
+
04: German
133
+
05: Italian
134
+
06: Japanese
135
+
07: Korean
136
+
09: Russian
137
+
0a: Spanish
138
+
0b: Swedish
139
+
0d: Chinese (simplified / Kantai)
140
+
0e: Portuguese (Brazil)
141
+
0f: Arabic
142
+
12: Czech
143
+
14: Dutch
144
+
1a: Hungarian
145
+
1e: Polish
146
+
1f: Romanian
147
+
Feature: D6 (Power mode)
148
+
Values:
149
+
01: DPM: On, DPMS: Off
150
+
05: Write only value to turn off display
151
+
Feature: DA (Scan mode)
152
+
Values:
153
+
00: Normal operation
154
+
02: Overscan
155
+
Feature: DC (Display Mode)
156
+
Values:
157
+
04: User defined
158
+
05: Games
159
+
0b: Unrecognized value
160
+
0c: Unrecognized value
161
+
0e: Unrecognized value
162
+
0f: Unrecognized value
163
+
12: Unrecognized value
164
+
13: Unrecognized value
165
+
21: Unrecognized value
166
+
Feature: DF (VCP Version)
167
+
</code></pre>
168
+
<p>This was what my BenQ exposes.</p>
169
+
<h2 id="ease-of-use">Ease of use</h2>
170
+
<p>Discovered that ddcutil allows relative up downs:</p>
171
+
<pre><code>~ ❯ ddcutil setvcp 10 + 10
172
+
~ ❯ ddcutil setvcp 10 - 10
173
+
</code></pre>
174
+
<h2 id="next-steps">Next steps</h2>
175
+
<p>I need to figure out how to wire up these commands to the brightness up / down key commands on Omarchy - so I can control the brightness on the keyboard. Still not sure how to get that configuration working, since it doesn't work out of the box with my screen with the default tooling.</p>
176
+
</content>
177
+
<summary><p>Witht he coming arrival of the end of Windows10, I installed <a href="https://omarchy.org/">Omarchy</a> on one my <a href="https://www.bee-link.com/products/beelink-mini-s12-n95">Beelink MiniS12 N95</a>, fully expecting just to play with it and revert back to Windows11 on the machine. Win11 was slow on the machine, but a decent cheap desktop to have connected to a screen. <em>Omarchy</em> on the Beelink, even on the tiny hardware, has been absolutely flying. To the point that it's now my main desktop for everything right now.</p></summary>
178
+
</entry>
9
179
<entry>
10
180
<id>http://ewinnington.github.io/posts/MIQP</id>
11
181
<title>It’s a proportional allocation - how hard can it be? Going from Water filling to QP</title>
@@ -2220,90 +2390,4 @@ aaa &gt; eee
2220
2390
</content>
2221
2391
<summary><p>When working with large amounts of data, extraction, transforms and loads procedures can hide the source of the original data and make inquiries on "where did this data come from and what happened to it?" difficult to answer.</p></summary>
<p>Tesla on Twitter announced: <a href="https://t.co/aw85eHECXI">&quot;Meet Megafactory, our new Megapack factory in Lathrop, CA 🔋🔋🔋&quot;</a></p>
2230
-
<p>Tesla's energy division has recently completed their new Megapack factory in Lathrop California , which they claim can produce currently 10'000 Megapacks a year. How much storage is that and how does this compare to a Hydropower pump storage plant?</p>
2231
-
<h2 id="tesla-megapacks-specs-per-pack">Tesla megapacks Specs per pack</h2>
2232
-
<ul>
2233
-
<li>4 Hour Duration</li>
2234
-
<li>Power: 970 kW</li>
2235
-
<li>Energy: 3,916 kWh per Megapack</li>
2236
-
<li>Round Trip Efficiency: 93.5%</li>
2237
-
<li>9.12 m x 1.65 m x 2.79 m</li>
2238
-
<li>38,100 kg</li>
2239
-
<li>~$2 million per pack</li>
2240
-
</ul>
2241
-
<h2 id="offer">Offer</h2>
2242
-
<p>An offer was generated on the Tesla Energy website to get an appropriate pricing for the largest system they offer.</p>
<li>Est. Annual Maintenance $4,821,480 - Maintenance Price escalates at 2% per year</li>
2251
-
</ul>
2252
-
<p>Based on this, we can see that 10'000 megapacks represent about 39160 MWh of storage (39 GWh), with a sales cost of approx $18 billion.</p>
2253
-
<p>So how does this compare to the two latest large Swiss Pump-Storage Hydropowerplants?</p>
<li>~10 years to build and bring into operation</li>
2274
-
</ul>
2275
-
<h2 id="conclusion">Conclusion</h2>
2276
-
<p>The storage cost of the batteries is currently about a factor 4-9x the price of the hydropower plant construction but have the advantage of being available within about 18 months. What remains to be seen is how much battery degradation is a factor in these grid scale battery installations. At least Tesla is offering, from my understanding, a 15 year warranty on the Megapack.</p>
2277
-
<p>The amount of storage produced by the factory represents more than 1 large hydropower plant per year.</p>
2278
-
<p>The 39 GWh storage produced by the factory in one year is a huge amount, so much that it would cover around 25% of the <a href="https://www.iea.org/data-and-statistics/charts/battery-storage-capability-by-countries-2020-and-2026">expected total capacity that the IEA planned for the entire world by 2026</a>.</p>
2279
-
<h2 id="post-scriptum-new-gridscale-batteries-in-europe">Post-scriptum: new gridscale batteries in Europe</h2>
2280
-
<p>2022.11.22 - <a href="https://www.bbc.com/news/uk-england-humber-63707463">Cottingham: Europe's biggest battery storage system switched on - 196MWh</a></p>
<p>As usual, BBC is terribly uninformative about specifications and cost. If we assume 50 Tesla Megapacks, cost should be around $100 million+ and 50 to 100 MW based on the 2h or 4h megapacks. Interesting to see a Tesla system in Europe. I expect many more to come online.</p>
2290
-
<p>2022.11.07 - <a href="https://www.rwe.com/en/press/rwe-generation/2022-11-07-battery-storage-220-mw-neurath">RWE gives green light for 220-megawatt battery storage system in North Rhine-Westphalia</a></p>
2291
-
<ul>
2292
-
<li>Power: 80 + 140 MW = 220 MW</li>
2293
-
<li>Storage: delivering the required output for over an hour but full capacity not mentioned. 220 MWh to 440MWh.</li>
2294
-
<li>140 million euros</li>
2295
-
<li>commissioning in 2024</li>
2296
-
<li>Supplier: Not mentioned.</li>
2297
-
</ul>
2298
-
<p>2021.07.22 - <a href="https://www.rwe.com/en/press/rwe-ag/2021-07-22-rwe-builds-one-of-the-largest-battery-storage-facilities-in-germany">RWE bringing 72MW BESS in Germany online in November</a></p>
2299
-
<ul>
2300
-
<li>Power: 72 + 45MW = 117 MW</li>
2301
-
<li>Storage: 128MWh</li>
2302
-
<li>€50 million</li>
2303
-
<li>commissioning in end 2022</li>
2304
-
<li>Supplier: CATL batteries</li>
2305
-
</ul>
2306
-
</content>
2307
-
<summary><p>Tesla on Twitter announced: <a href="https://t.co/aw85eHECXI">"Meet Megafactory, our new Megapack factory in Lathrop, CA 🔋🔋🔋"</a></p></summary>
0 commit comments