[diary]09-29-05

博客记录了日常琐事,提到课程无趣,当天搞定上网、听歌和 flash,晚上和爱人逛超市很累,扬华网挂了打算明天再看,还计划列个国庆计划。

课还是那样的无趣...

让俺高兴的是今天终于搞定了上网,听歌,还有flash...-_-确实很菜菜呀

晚上又和亲爱的去逛超市,真是累啊 :[ 哎....早点休息咯

扬华网挂了,明天再去看看吧。

亲爱的说的对,明天列个国庆计划 嘎嘎

--------- beginning of main --------- beginning of system 2025-06-05 19:19:52.875 2778-2778 Zygote com.example.diaryapp I seccomp disabled by setenforce 0 2025-06-05 19:19:52.876 2778-2778 xample.diaryap com.example.diaryapp I Late-enabling -Xcheck:jni 2025-06-05 19:19:52.893 2778-2778 xample.diaryap com.example.diaryapp W Unexpected CPU variant for X86 using defaults: x86_64 2025-06-05 19:19:53.227 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/os/Trace;->TRACE_TAG_APP:J (light greylist, reflection) 2025-06-05 19:19:53.227 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (light greylist, reflection) 2025-06-05 19:19:53.258 2778-2778 AppCompatDelegate com.example.diaryapp D Checking for metadata for AppLocalesMetadataHolderService : Service not found 2025-06-05 19:19:53.273 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/graphics/Insets;->left:I (light greylist, linking) 2025-06-05 19:19:53.273 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/graphics/Insets;->top:I (light greylist, linking) 2025-06-05 19:19:53.273 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/graphics/Insets;->right:I (light greylist, linking) 2025-06-05 19:19:53.273 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/graphics/Insets;->bottom:I (light greylist, linking) 2025-06-05 19:19:53.293 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection) 2025-06-05 19:19:53.294 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection) 2025-06-05 19:19:53.298 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/graphics/FontFamily;-><init>()V (light greylist, reflection) 2025-06-05 19:19:53.298 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/graphics/FontFamily;->addFontFromAssetManager(Landroid/content/res/AssetManager;Ljava/lang/String;IZIII[Landroid/graphics/fonts/FontVariationAxis;)Z (light greylist, reflection) 2025-06-05 19:19:53.298 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/graphics/FontFamily;->addFontFromBuffer(Ljava/nio/ByteBuffer;I[Landroid/graphics/fonts/FontVariationAxis;II)Z (light greylist, reflection) 2025-06-05 19:19:53.298 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/graphics/FontFamily;->freeze()Z (light greylist, reflection) 2025-06-05 19:19:53.298 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/graphics/FontFamily;->abortCreation()V (light greylist, reflection) 2025-06-05 19:19:53.299 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/graphics/Typeface;->createFromFamiliesWithDefault([Landroid/graphics/FontFamily;Ljava/lang/String;II)Landroid/graphics/Typeface; (light greylist, reflection) 2025-06-05 19:19:53.400 2778-2778 OpenGLRenderer com.example.diaryapp D Skia GL Pipeline 2025-06-05 19:19:53.417 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/view/WindowInsets;->CONSUMED:Landroid/view/WindowInsets; (light greylist, reflection) 2025-06-05 19:19:53.417 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/view/View;->getViewRootImpl()Landroid/view/ViewRootImpl; (light greylist, reflection) 2025-06-05 19:19:53.417 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/view/View$AttachInfo;->mVisibleInsets:Landroid/graphics/Rect; (light greylist, reflection) 2025-06-05 19:19:53.417 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/view/ViewRootImpl;->mAttachInfo:Landroid/view/View$AttachInfo; (light greylist, reflection) 2025-06-05 19:19:53.429 2778-2820 <no-tag> com.example.diaryapp D HostConnection::get() New Host Connection established 0x7f2e2dac31c0, tid 2820 2025-06-05 19:19:53.429 2778-2820 <no-tag> com.example.diaryapp W Process pipe failed 2025-06-05 19:19:53.431 2778-2820 ConfigStore com.example.diaryapp I android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 2025-06-05 19:19:53.431 2778-2820 ConfigStore com.example.diaryapp I android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 2025-06-05 19:19:53.431 2778-2820 OpenGLRenderer com.example.diaryapp I Initialized EGL, version 1.4 2025-06-05 19:19:53.431 2778-2820 OpenGLRenderer com.example.diaryapp D Swap behavior 1 2025-06-05 19:19:53.432 2778-2820 EGL_adreno com.example.diaryapp E CreateContext rcMajorVersion:3, minorVersion:2 2025-06-05 19:19:53.440 2778-2820 EGL_adreno com.example.diaryapp D eglCreateContext: 0x7f2e2da45b20: maj 3 min 2 rcv 3 2025-06-05 19:19:53.440 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:19:53.440 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:19:53.472 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:19:53.472 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:19:53.473 2778-2820 vndksupport com.example.diaryapp D Loading /vendor/lib64/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace. 2025-06-05 19:19:53.473 2778-2820 vndksupport com.example.diaryapp D Loading /vendor/lib64/hw/gralloc.gmin.so from current namespace instead of sphal namespace. 2025-06-05 19:19:53.476 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:19:53.476 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2db09100, error=EGL_BAD_MATCH 2025-06-05 19:19:53.902 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (light greylist, reflection) 2025-06-05 19:19:53.902 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (light greylist, reflection) 2025-06-05 19:19:53.902 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden method Landroid/os/Trace;->traceCounter(JLjava/lang/String;I)V (light greylist, reflection) 2025-06-05 19:19:58.602 2778-2845 ProfileInstaller com.example.diaryapp D Installing profile for com.example.diaryapp 2025-06-05 19:22:51.307 2778-2778 Choreographer com.example.diaryapp I Skipped 32 frames! The application may be doing too much work on its main thread. 2025-06-05 19:22:51.377 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:22:51.377 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:22:51.401 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:22:51.401 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2a73b480, error=EGL_BAD_MATCH 2025-06-05 19:22:52.875 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:22:52.875 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:22:52.879 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@b70dda7 2025-06-05 19:22:52.882 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:22:52.882 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2db09880, error=EGL_BAD_MATCH 2025-06-05 19:22:53.180 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:22:53.180 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:22:53.197 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:22:53.197 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2a73b480, error=EGL_BAD_MATCH 2025-06-05 19:22:53.203 2778-2778 Glide com.example.diaryapp W Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored 2025-06-05 19:22:59.515 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@dee6c34 2025-06-05 19:22:59.547 2778-2783 xample.diaryap com.example.diaryapp I Compiler allocated 4MB to compile void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int) 2025-06-05 19:22:59.572 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:22:59.572 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:22:59.586 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:22:59.586 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2db09b80, error=EGL_BAD_MATCH 2025-06-05 19:23:07.999 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:23:07.999 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:23:08.013 2778-2778 xample.diaryap com.example.diaryapp W Accessing hidden field Landroid/view/View;->mAccessibilityDelegate:Landroid/view/View$AccessibilityDelegate; (light greylist, reflection) 2025-06-05 19:23:08.015 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:23:08.015 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2a73b280, error=EGL_BAD_MATCH 2025-06-05 19:23:10.088 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@a431ad9 2025-06-05 19:23:10.141 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:23:10.141 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:23:10.160 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:23:10.160 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2da27800, error=EGL_BAD_MATCH 2025-06-05 19:23:18.089 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:23:18.089 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:23:18.109 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:23:18.109 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2a736700, error=EGL_BAD_MATCH 2025-06-05 19:23:20.289 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@6e93288 2025-06-05 19:23:20.343 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:23:20.343 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:23:20.364 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:23:20.364 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d387d00, error=EGL_BAD_MATCH 2025-06-05 19:23:22.178 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:23:22.178 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:23:22.188 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:23:22.188 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d5bf900, error=EGL_BAD_MATCH 2025-06-05 19:23:26.082 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:23:26.082 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:23:26.102 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:23:26.102 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d5bf900, error=EGL_BAD_MATCH 2025-06-05 19:27:41.046 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@4c87c69 2025-06-05 19:27:41.111 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:27:41.111 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:27:41.124 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:27:41.124 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d4afd00, error=EGL_BAD_MATCH 2025-06-05 19:27:42.651 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:27:42.651 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:27:42.667 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:27:42.667 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e1d4af080, error=EGL_BAD_MATCH 2025-06-05 19:27:42.732 2778-2789 System com.example.diaryapp W A resource failed to call close. 2025-06-05 19:27:42.732 2778-2789 chatty com.example.diaryapp I uid=10062(com.example.diaryapp) FinalizerDaemon identical 1 line 2025-06-05 19:27:42.734 2778-2789 System com.example.diaryapp W A resource failed to call close. 2025-06-05 19:27:44.377 2778-2820 OpenGLRenderer com.example.diaryapp D endAllActiveAnimators on 0x7f2e1623df00 (RippleDrawable) with handle 0x7f2e2dab3800 2025-06-05 19:27:44.393 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:27:44.393 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:27:44.416 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:27:44.416 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e16286180, error=EGL_BAD_MATCH 2025-06-05 19:27:48.098 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@845b71b 2025-06-05 19:27:48.195 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:27:48.195 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:27:48.203 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:27:48.203 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2a73b500, error=EGL_BAD_MATCH 2025-06-05 19:27:49.264 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@a6acb9a 2025-06-05 19:27:49.389 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:27:49.389 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:27:49.397 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:27:49.397 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e16286e00, error=EGL_BAD_MATCH 2025-06-05 19:28:07.132 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@e46c675 2025-06-05 19:28:07.237 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:28:07.237 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:28:07.262 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:28:07.262 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e16286e00, error=EGL_BAD_MATCH 2025-06-05 19:28:08.766 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:28:08.766 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:28:08.772 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@8487834 2025-06-05 19:28:08.777 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:28:08.777 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e162dca00, error=EGL_BAD_MATCH 2025-06-05 19:28:08.811 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:28:08.811 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:28:08.829 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:28:08.829 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2db8d000, error=EGL_BAD_MATCH 2025-06-05 19:28:11.031 2778-2778 ActivityThread com.example.diaryapp W handleWindowVisibility: no activity for token android.os.BinderProxy@4a13060 2025-06-05 19:28:11.094 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:28:11.094 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:28:11.115 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:28:11.115 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e16430500, error=EGL_BAD_MATCH 2025-06-05 19:28:12.651 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:28:12.651 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:28:12.671 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:28:12.671 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e162dc500, error=EGL_BAD_MATCH 2025-06-05 19:28:14.160 2778-2820 OpenGLRenderer com.example.diaryapp D endAllActiveAnimators on 0x7f2e165b7b00 (RippleDrawable) with handle 0x7f2e2db3c200 2025-06-05 19:28:14.178 2778-2820 EGL_adreno com.example.diaryapp E [getAttribValue] Bad attribute idx 2025-06-05 19:28:14.178 2778-2820 EGL_adreno com.example.diaryapp D eglGetConfigAttrib: bad attrib 0x3339 2025-06-05 19:28:14.197 2778-2820 EGL_adreno com.example.diaryapp E tid 2820: eglSurfaceAttrib(1615): error 0x3009 (EGL_BAD_MATCH) 2025-06-05 19:28:14.197 2778-2820 OpenGLRenderer com.example.diaryapp W Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e2db8d180, error=EGL_BAD_MATCH
06-06
修改和优化以下代码:clc clear %% ===================== 数据导入 ===================== % 风电预测功率 P_wt_pre = [419.04,374.32,392.12,398.68,460.74,405.60,235.60,222.69,260.45,277.39,183.57,120.09,81.92,127.76,163.73,195.31,209.13,267.56,374.10,407.58,421.39,468.05,494.70,479.29]; % 电负荷数据 P_Load_e = [483.652,556.596,567.088,572.472,559.540,528.948,564.380,597.140,621.736,556.064,708.320,714.772,604.900,522.044,484.160,491.404,576.340,708.172,787.652,674.048,595.500,578.148,514.456,550.844]; % 热负荷数据 P_Load_h = [358.680,358.420,370.790,369.580,344.640,321.890,352.310,326.540,315.740,265.470,232.010,227.020,296.580,292.170,267.080,273.990,288.170,270.460,227.610,345.550,322.250,342.400,347.970,370.340]; %% ===================== 参数设置 ===================== % ===== 火电机组参数 ===== P_MT_max = [400,455,200]; % 机组最大出力 (MW) P_MT_min = [200,120,100]; % 机组最小出力 (MW) Rate_u = [200; 200; 100]; % 机组爬坡率 (MW/h) a = [0.00048,0.00031,0.0002]; % 燃料成本二次项系数 (元/MW²) b = [16.2,17.3,16.6]; % 燃料成本一次项系数 (元/MW) c = [1000,970,700]; % 燃料成本常数项 () C_gas_price = 50; % 天然气价格 (元/单位) % ===== 碳捕集参数 ===== C_k_eg = [0.91,0.95,0.98]; % 机组碳排放系数 (t_CO2/MWh) P_lamda = [0.18,0.18,0.18]; % 单位捕碳量能耗 (MWh/t_CO2) P_yita = [1.05,1.05,1.05]; % 再生塔效率系数 (关键参数) P_GD_eg = [15,15,10]; % 碳捕集固定能耗 (MW) C_cb_price = 120; % 碳交易价格 (元/t_CO2) f_quota_rate = 0.65; % 免费配额比例 E_bata_c = 0.81; % 碳捕集的效率 % ===== 溶剂系统参数 ===== M_MEA = 61.08; % MEA摩尔质量 (g/mol) M_co2 = 44; % CO2摩尔质量 (g/mol) C_s_CR = 30; % 醇胺溶液浓度 (%) C_rou_gL = 1010; % 溶液密度 (g/L) B_V_CR = [2500,2500,2500]; % 溶液储罐容量 (L) K_k_R = 0.95; % 溶剂成本系数 (元/L) C_fai = 1.21; % 溶剂运行损耗系数 % ===== 需求响应参数 ===== DR_e_tra_limit = 0.12; % 电负荷转移比例上限 DR_h_tra_limit = 0.12; % 热负荷转移比例上限 DR_e_cut_limit = 0.03; % 电负荷削减比例上限 DR_h_cut_limit = 0.03; % 热负荷削减比例上限 % ===== 高峰时段定义 ===== e_peak_hours = [10,11,12,18,19,20]; % 电负荷高峰时段 h_peak_hours = [1,2,3,21,22,23]; % 热负荷高峰时段 % ===== 新增参数 ===== C_wt_om = 15; % 风电单位运维成本 [元/MWh] %% ===================== 决策变量定义 ===================== % --- 能源生产变量 --- P_CHP_e = sdpvar(1,24,'full'); % CHP机组电出力 (MW) P_MT_e = sdpvar(3,24,'full'); % 火电机组出力 (MW) P_wt_e = sdpvar(1,24,'full'); % 风电实际出力 (MW) P_e_EB = sdpvar(1,24,'full'); % 电锅炉耗电量 (MW) P_e_CCS = sdpvar(3,24,'full'); % 碳捕集耗电量 (MW) P_CHP_h = sdpvar(1,24,'full'); % CHP机组热出力 (MW) P_EB_h = sdpvar(1,24,'full'); % 电锅炉热出力 (MW) % --- 天然气购买 --- P_g_CHP = sdpvar(1,24,'full'); % 天然气消耗量 (单位) % --- 碳捕集系统 --- E_Amt_co2 = sdpvar(3,24,'full'); % 机组碳排放量 (t_CO2) E_co2_CCS = sdpvar(3,24,'full'); % 捕获的CO2量 (t_CO2) F_CO2_aux = sdpvar(3,24,'full'); % 超额碳排放量 (t_CO2) % --- 溶剂系统 --- B_V_CA = sdpvar(3,24,'full'); % 溶剂循环量 (L) B_V_FY = sdpvar(3,24,'full'); % 富液体积 (L) B_V_PY = sdpvar(3,24,'full'); % 贫液体积 (L) % --- 需求响应 --- P_tra_e_pos = sdpvar(1,24,'full'); % 电负荷正向转移量 P_tra_e_neg = sdpvar(1,24,'full'); % 电负荷负向转移量 P_cut_e = sdpvar(1,24,'full'); % 可削减电负荷 P_DR_Load_e = sdpvar(1,24,'full'); % 需求响应后电负荷 H_tra_h_pos = sdpvar(1,24,'full'); % 热负荷正向转移量 H_tra_h_neg = sdpvar(1,24,'full'); % 热负荷负向转移量 H_cut_h = sdpvar(1,24,'full'); % 可削减热负荷 P_DR_Load_h = sdpvar(1,24,'full'); % 需求响应后热负荷 %% ===================== 约束条件 ===================== Cons = []; % ===== 能源平衡约束 ===== for t = 1:24 % 电功率平衡 Cons = [Cons, P_CHP_e(t) + P_wt_e(t) + sum(P_MT_e(:, t)) == P_DR_Load_e(t) + P_e_EB(t) + sum(P_e_CCS(:, t)) ]; % 热功率平衡 Cons = [Cons, P_CHP_h(t) + P_EB_h(t) == P_DR_Load_h(t) % 产热=用热 ]; end % ===== 机组运行约束 ===== for t = 1:24 % 风电约束:实际出力不超过预测值 Cons = [Cons, 0 <= P_wt_e(t) <= P_wt_pre(t) ]; % CHP机组约束:效率模型 Cons = [Cons, 0 <= P_g_CHP(t) <= 850, % 天然气消耗范围 P_CHP_e(t) == 0.48 * P_g_CHP(t), % 电效率48% P_CHP_h(t) == 0.32 * P_g_CHP(t) % 热效率32% ]; % 电锅炉约束:电热转换效率 Cons = [Cons, P_EB_h(t) == 0.97 * P_e_EB(t) % 热效率97% ]; % 火电机组约束 (含碳捕集系统) for i = 1:3 % 总碳排放计算:发电量×排放系数 Cons = [Cons, E_Amt_co2(i, t) == P_MT_e(i, t) * C_k_eg(i) ]; % 碳捕集过程 (物理模型) Cons = [Cons, % 碳捕集量 = 捕集效率 × 待捕集量 E_co2_CCS(i, t) == E_bata_c * E_Amt_co2(i, t), % 捕集量上下限约束 0 <= E_co2_CCS(i, t) <= P_yita(i) * E_bata_c * C_k_eg(i) * P_MT_max(i), E_co2_CCS(i, t) <= E_Amt_co2(i, t), % 捕集量不超过总排放 % 碳捕集能耗 = 单位捕集能耗 × 碳捕集量 + 固定能耗 P_e_CCS(i, t) == P_lamda(i) * E_co2_CCS(i, t) + P_GD_eg(i), % 火电机组出力范围 P_MT_min(i) <= P_MT_e(i, t) <= P_MT_max(i), ]; end end % ===== 机组爬坡约束 ===== for t = 1:23 % CHP机组爬坡: Cons = [Cons, -150<= P_CHP_e(t+1) - P_CHP_e(t) <= 150 ]; % 电锅炉爬坡: Cons = [Cons, -130 <= P_e_EB(t+1) - P_e_EB(t) <= 130 ]; % 火电机组爬坡: for i = 1:3 Cons = [Cons, -Rate_u(i) <= P_MT_e(i, t+1) - P_MT_e(i, t) <= Rate_u(i) ]; end end % ===== 溶剂系统动态约束 ===== B_V_PY0 = [1000; 1000; 1000]; % 贫液初始量 (L) B_V_FY0 = [1000; 1000; 1000]; % 富液初始量 (L) for i = 1:3 % t=1时段特殊处理:初始状态 Cons = [Cons, B_V_FY(i, 1) == B_V_FY0(i) + B_V_CA(i, 1), % 富液=初始+新增 B_V_PY(i, 1) == B_V_PY0(i) - B_V_CA(i, 1) % 贫液=初始-消耗 ]; % t=2-24时段:溶剂流动平衡 for t = 2:24 Cons = [Cons, B_V_FY(i, t) == B_V_FY(i, t-1) + B_V_CA(i, t), % 富液积累 B_V_PY(i, t) == B_V_PY(i, t-1) - B_V_CA(i, t) % 贫液消耗 ]; end % 溶液容量约束:储罐限制 Cons = [Cons, 0 <= B_V_FY(i, :) <= B_V_CR(i), % 富液容量 0 <= B_V_PY(i, :) <= B_V_CR(i) % 贫液容量 ]; % 周期平衡约束 (允许±50L偏差) Cons = [Cons, abs(B_V_PY(i, 24) - B_V_PY0(i)) <= 50, % 贫液周期平衡 abs(B_V_FY(i, 24) - B_V_FY0(i)) <= 50 % 富液周期平衡 ]; % ===== 新增溶剂循环量约束 ===== % 溶剂循环量与CO2捕集量的化学平衡 for t = 1:24 % 计算单位CO2捕集所需溶剂体积 [L/t_CO2] solvent_per_co2 = (M_MEA / M_co2) / (C_s_CR/100 * C_rou_gL) * 1e6; Cons = [Cons, B_V_CA(i, t) == E_co2_CCS(i, t) * solvent_per_co2 ]; end end % ===== 碳交易约束 ===== for i = 1:3 for t = 1:24 % 实际排放量 = 总碳排放 - 碳捕集量 Actual_emission = E_Amt_co2(i,t) - E_co2_CCS(i,t); % 免费碳配额 = 配额率 × 排放系数 × 发电量 Free_quota = f_quota_rate * C_k_eg(i) * P_MT_e(i,t); % 超额排放量计算 Cons = [Cons, F_CO2_aux(i,t) >= Actual_emission - Free_quota, % 超额排放部分 F_CO2_aux(i,t) >= 0 % 非负约束 ]; end end % ===== 需求响应约束 ===== % 转移负荷限制:每小时转移量上限 for t = 1:24 Cons = [Cons, % 电负荷转移量不超过比例限制 0 <= P_tra_e_pos(t) <= DR_e_tra_limit * P_Load_e(t), 0 <= P_tra_e_neg(t) <= DR_e_tra_limit * P_Load_e(t), % 热负荷转移量不超过比例限制 0 <= H_tra_h_pos(t) <= DR_h_tra_limit * P_Load_h(t), 0 <= H_tra_h_neg(t) <= DR_h_tra_limit * P_Load_h(t) ]; end % 转移总量平衡 (允许1%偏差) Cons = [Cons, abs(sum(P_tra_e_pos) - sum(P_tra_e_neg)) <= 0.01*sum(P_Load_e), abs(sum(H_tra_h_pos) - sum(H_tra_h_neg)) <= 0.01*sum(P_Load_h) ]; % 可削减负荷约束:仅高峰时段允许 for t = 1:24 % 电负荷削减约束 if ismember(t, e_peak_hours) Cons = [Cons, -DR_e_cut_limit*P_Load_e(t) <= P_cut_e(t) <= 0 ]; else Cons = [Cons, P_cut_e(t) == 0 % 非高峰时段不能削减 ]; end % 热负荷削减约束 if ismember(t, h_peak_hours) Cons = [Cons, -DR_h_cut_limit*P_Load_h(t) <= H_cut_h(t) <= 0 ]; else Cons = [Cons, H_cut_h(t) == 0 % 非高峰时段不能削减 ]; end end % 响应后负荷计算 Cons = [Cons, % 电负荷 = 原始负荷 + 净转移量 + 削减量 P_DR_Load_e == P_Load_e + (P_tra_e_pos - P_tra_e_neg) + P_cut_e, % 热负荷 = 原始负荷 + 净转移量 + 削减量 P_DR_Load_h == P_Load_h + (H_tra_h_pos - H_tra_h_neg) + H_cut_h ]; %% ===================== 目标函数 ===================== % 总目标:最小化运行成本 = 燃料成本 + 燃气成本 + 环境成本 % 1. 燃料成本 (火电机组二次函数) F_1 = 0; for i = 1:3 for t = 1:24 F_1 = F_1 + a(i)*P_MT_e(i,t)^2 + b(i)*P_MT_e(i,t) + c(i); end end % 2. 燃气成本 (CHP机组) F_2 = C_gas_price * sum(P_g_CHP); % 3. 环境成本 (溶剂成本 + 碳交易成本) F_3 = 0; for i = 1:3 for t = 1:24 % 溶剂成本 = 成本系数 × 损耗系数 × 溶液量 F_3 = F_3 + K_k_R * C_fai * B_V_CA(i,t); % 碳交易成本 = 碳价 × 超额排放量 F_3 = F_3 + C_cb_price * F_CO2_aux(i,t); end end % 总成本 F_all = F_1 + F_2 + F_3 ;
最新发布
11-16
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值